View Single Post
  #12  
Old 12-13-2008, 08:30 PM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
Well.
Thanks again, I got another question tho:

I am trying to make the projectile destroy after 3 seconds, so I'm using:

scheduleevent(3,"StarDestroy","");

function onStarDestroy() {
triggeraction(this.x + 6/16, this.y + 6/16, "StarDestroy", nil);
}

function onActionStar() {
this.destroy();
}

And it doesnt work x_X, am I triggering it wrong, or what? :o
Reply With Quote