Jump to content
Sign in to follow this  
5thSFG Drak

Question 2

Recommended Posts

how do you use the command Getdammage to work for more than one vehicle

example:

getdammage tank1 >=1 , getdammage tank2 >=1 , getdammage tank3 >=1

now with these commands the trigger will set off after tank1 dies ...and 2 or 3 is still alive . or when 2 dies and 1 and 3 are alive........

anyone know another way?

Thk's to anyone who helps...

Share this post


Link to post
Share on other sites

You can make a trigger for each tank and in the condition field type:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

!(canmove tank1)<span id='postcolor'>

activation field: tank_dead=true

make another with

condition field</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

!(canmove tank2)<span id='postcolor'>

activation field: tank_dead=true

same with the third.

Make another maseter trigger:

condition field:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

tank_dead<span id='postcolor'>

that way when at least one tank is dead the trigger will activate, I've had trouble with the OR command in the past.

You can also use:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

!(alive tank)<span id='postcolor'>

but if the crew is already part of the tank, they will also have to be killed.

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  

×