How to make actor disappear when lifes = 0
Posted: Fri May 04, 2018 11:34 pm
How can I make an actor disappear when life =0
Please help me!
Please help me!
Game Editor discussion board
http://game-editor.com/forum/
if(life==0)
{
DestroyActor("Event Actor");
}
juansimat wrote:= is an assignment operator (assigns the value of the right side to the left side).
== is a comparison operator (checks if both sides are the same).
You can read more about operators here.