STOP THAT ACTOR
I have an actor, moving with the move command, down he screen, I want it to stop where it is if it is hit by another actor, a bullet, I have tried a few things and nothing seems to stop the actor. Anyone got any ideas. Thanks for the help
Comments
Pur your move behavior in a rule that says: When attribute self.Stop is false, move to direction whatever.
Create another rule in that actor:
When overlaps or collides with Bullet,
change attribute self.Stop to true.
That should do it.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User