Jump to content
Sign in to follow this  
mark82101

Put a group in a vehicle with init command line

Recommended Posts

Hello!

In OFP I was able to put a group of soldiers immediately inside a vehicle in this way:

"_x moveincargo namevehicle" foreach units group this

But in ArmA, I have problems with "foreach units group this"... Isn't the right line!

Someone can help me? smile_o.gifhelp.gif

Share this post


Link to post
Share on other sites
I think you need to use {} instead of "" now. wink_o.gif

THAAAAAAAAAAAAAANKS!!! biggrin_o.gif

with:

{"_x moveincargo ural1"} foreach units group this

WOOORK!!! notworthy.gif

Share this post


Link to post
Share on other sites
I think you need to use {} instead of "" now. wink_o.gif

THAAAAAAAAAAAAAANKS!!!  biggrin_o.gif

with:

{"_x moveincargo ural1"} foreach units group this

WOOORK!!!  notworthy.gif

mmhh... false alarm!

Work in Init line... but in game can't put soldiers inside the vehicle sad_o.gif

confused_o.gif

Share this post


Link to post
Share on other sites

Lose the "" completely, the line should look like

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_x moveincargo ural1} foreach units group this

Share this post


Link to post
Share on other sites

The reason for this is that {} and "" where pretty much interchangable in ofp. Arma is more strict in that {} signifies code and "" signifies a string without exception.

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  

×