Flash once?
justinodunn
Member, PRO Posts: 226
in Tech Support
A flash (white actor, alpha from 0 to 1 after 0.1 seconds in timer) is triggered when main character collides with the enemy. However it is triggered as well when it hits the ground. How do I make it so that the flash would only appear once? because when it collides with the enemy the main character falls to the ground, so it would flash twice.
Comments
And add a change attribute to what ever rule makes it flash that changes self.hasflashed from false to true.
Is it 'it' or is it the other "it' that triggers it ?