Jump to content
Sign in to follow this  
ruff

east units

Recommended Posts

how do i get a whole east unit to ue switch move command using triggers

i dont need condition field since im using the east count command

if i cant do it

i there a script for it?

any help would be great

Share this post


Link to post
Share on other sites

Just create a large trigger that detects the East units you wish to affect.  If you want this condition to be automatically true, then put TRUE in the condition.

In onActivation put:

"_x switchmove {Move}" foreach thislist

I'd put a 2 second delay in the trigger if this is something that happens at the start of a mission.  For the move you'll insert whatever action it is you want.  You'll also need to use {} to enclose it instead of "" since that confuses OFP.

Share this post


Link to post
Share on other sites

thanks

Share this post


Link to post
Share on other sites
Quote[/b] ]You'll also need to use {} to enclose it instead of "" since that confuses OFP.

Just a note here, you can actually use two quote symbols for each {. For example, you could write it like so:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x switchmove ""Move""" foreach thislist

using {} is simpler and easier to recognise, but I thought I'd confuse you even more. Bwa ahahaha smile_o.gif

Share this post


Link to post
Share on other sites

thanks alot man

but now how do i cancel it for every unit i kill (the switchmove)

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  

×