First game in the making, brain cells dying alot.
GLGAMES
SingaporeMember Posts: 988
Sorry for asking all these, since i'm really very noob at this.
I am trying to make an actor spawn with animation,but how do i make a rule that this actor can only be destroyed after end of animation?
By the way is there a fix way of defining rules? i.e do they get executed in sequence or does not matter where you put it on the same actor?
I am trying to make an actor spawn with animation,but how do i make a rule that this actor can only be destroyed after end of animation?
By the way is there a fix way of defining rules? i.e do they get executed in sequence or does not matter where you put it on the same actor?
Comments
just have a rule in the actor after 8 seconds
make a self attribute, have it interger, in the actor called destroyon, and have it set it 0
have a rule in the actor after 8 seconds change destroyon to 1
then have another rule in the actor when destroyon=1 AND touch is pressed destroy actor
cheers