Jump to content
Sign in to follow this  
kocrachon

Couple of Questions

Recommended Posts

Ok, so I got two questions. First is a troubleshooting question.

I am currently using this command string

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">({ (not (_x in BlackHawk1)) and (alive _x) } count (units (group player))) == 0;

I am using it so that when all of my alive group members get in the vehicle, it then movies out. However... it will move out if all of them are in it, and NOT me.. So I have to board before they do. Is there a way to make sure it doesn't leave with out me? I even put in "AND Soldier1 in Blackhawk1" and it still didn't fix that...

Two, How do I script to make it so that it checks to see how much fuel a helicopter has so that I can tell it to add more? I want to give my helicopter unlimited fuel so that way it can loiter around till the mission is over with out it running out..

Thanks for the help.

Share this post


Link to post
Share on other sites

Put a trigger on the map, make sure it gets activated repeatdly.

Gamelogic.

Condition: fuel BlackHawk1 < 0.3

Activation: BlackHawk1 setfuel 1

Share this post


Link to post
Share on other sites

Thanks for the fuel help,

Anyone able to help on the helicopter taking off with out me issue? I know I can just load on first, but at times I like to provide security while my men get on...

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  

×