Jump to content
Sign in to follow this  
ylli122

Scripting Problems

Recommended Posts

:eek: Well, for I have just created a mission in which you escort a VIP to a certain area however all along the rounte of are bombarded with enemy fire etc. However, I wanna make a script which I can run throughout the mission which will check if my VIP unit ,which I have called VIP, is still alive. I have attempted to do it already but its not working.

if (vip1 !=Alive) then {endmission "LOSER"};

Can anyone Help?

Share this post


Link to post
Share on other sites

Trigger Version:

Con.: !alive vip

Type: EndLoser

Script Version:

if (!alive vip) then {endMission "LOSER";};

Edited by bigshotking

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×