KillerP90 10 Posted March 6, 2013 Hey ya'll im trying to find a replacement for the !alive or alive command which lets me make missions. Or im just missing how to make the objective completed after i kill a unit/empty vehicle <(I am testing on) I keep getting ALIVE: type string, expected object Share this post Link to post Share on other sites
cthulhu616 3 Posted March 6, 2013 simple: create a trigger, in the conditions u write: !alive object object= the object that needs to be killed alive = tests if a object is alive, returns true (when alive) or false (not alive) ! = inverts the command afterwards so if u have a unit called "p1" which is living and u ask the engine: "alive p1" it returns true if u ask: "!alive p1" it will return false the trigger will fire, when all conditions are true. so if u want the trigger to be fired, when a unit was killed use "!alive unit" if u want it to fire when a unit's alive use "alive unit" Share this post Link to post Share on other sites
KillerP90 10 Posted March 6, 2013 this is waht i put !alive unitname or !alive "unitname" ---------- Post added at 07:43 PM ---------- Previous post was at 07:41 PM ---------- Ah fixed! Share this post Link to post Share on other sites
khaki 10 Posted March 9, 2013 How did you fix it? I only get "Type bool, expected nothing" when I follow what Ctulhu616 posted earlier. Share this post Link to post Share on other sites