Change Actor based on another actors timed collision?
Hello, I am new to all of this so I hope you guys can help with a problem I have.
I have a game where bombs are dropped by a timer with a random spawner, when they hit the ground this triggers my animation to show the bomb with a countdown from 3...it then explodes and is set to destroy after that.
I have a rule with a timer attached to it - when the explosion happens it will end game if collided with main character.
My question is, how do I change the character image (to a burnt version of him) if he collides with the explosion and ends the game??
I have made a rule on the main character saying when it collides with bomb character - change image....but that makes him change when he is in contact with the un-exploded bomb....I need it to change only when it collides with the explosion.
Hope that all makes sense....I can provide pics/video if you need it to visualise.
Bobby
Comments
You can spawn another actor(the explosion) within the bomb actor and when the main character collides with the explosion, then burn him.
http://www.arcaderz.com
Ohh brilliant! thanks for your help...good idea. How do I spawn a character within the bomb with a timer?
In the bomb character put a Timer with the option After 2 seconds Spawn Actor (the Explosion Actor ) .
http://www.arcaderz.com
Thanks soo much! it works perfectly! and thanks for the quick responses.
Have a great day!!! x