Ford555 1 Posted December 23, 2012 in a .fsm file, i know that sleep dont work, when unit is dead a want hidebody and then deletevehicle. and i want leave 5 seconds between both actions. somebody help me please? Share this post Link to post Share on other sites
shuko 59 Posted December 24, 2012 Check for !alive -> save current time -> check for time >= _savedTime + 5 -> move to hide/delete Share this post Link to post Share on other sites
Ford555 1 Posted December 24, 2012 thanks! i'm doing something wrong. in condition is dead? i write: condition: !alive _zombie action: _timedead = time; then in state dead i write: if (time >= _timedead + 10) then { hideBody _zombie; }; i dont know use time special variable i think. Share this post Link to post Share on other sites
shuko 59 Posted December 24, 2012 Condition: !alive _zombie | | State: _time = time; | | Condition: time > (_time + 10) | | State: hideBody _zombie; Share this post Link to post Share on other sites
Ford555 1 Posted December 24, 2012 Thanks boy, it works perfectly and now i understand it Share this post Link to post Share on other sites