Jump to content
Sign in to follow this  
TheRedBaron

Trigger for everyone

Recommended Posts

I want the basic format for the comand that would assign some thing for every one on the western side. like change every western units gun to one gun.this is what ive tried.

"_x remove all weapons this" foreach units west

so that all western unit would no longer have a weapon. what im really trying to do is give all my western units one gun, I know what i just wrote was hard to follow but if you know what im trying to do please reply. smile_o.gif

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x addweapon ""weapon name""" foreach units west

maybe this could help? rock.gif

Share this post


Link to post
Share on other sites

units west

I don't think that works.

You may wish to create a map wide trigger, do West present repeatedly in the setup of it. Name it something like WestSide

In a script you can then do

"_x addweapon ""weapon name""" foreach list WestSide

anyway, not checked

Share this post


Link to post
Share on other sites
units west

I don't think that works.

You may wish to create a map wide trigger, do West present repeatedly in the setup of it.  Name it something like WestSide

In a script you can then do  

"_x addweapon ""weapon name""" foreach list WestSide

anyway, not checked

Should be this bn880 biggrin_o.gif

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x addweapon {"weapon name"}" foreach list WestSide

RED

Share this post


Link to post
Share on other sites
Quote[/b] ]"_x addweapon {"weapon name"}" foreach list WestSide

lol RED - shouldn't it be this?:

"_x addweapon {weapon name}" foreach list WestSide

or this?:

{_x addweapon "weapon name"} foreach list WestSide

tounge_o.gif

~S~ CD

Share this post


Link to post
Share on other sites

lol opps yup you are right smile_o.gif

RED

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  

×