Jump to content
Sign in to follow this  
Harkonin

Simple question

Recommended Posts

I'll be darned if I can get the syntax right but I need a unit in an array to execute a script.

What I've tried -

"[_x] Exec Scriptname.sqs" foreach units arrayname

"[_x Exec Scriptname.sqs" Foreach units arrayname

Etc.Etc..

Anyone else got 1 that will work?

Share this post


Link to post
Share on other sites

[_x] exec "script.sqs" foreach units arraname

rock.gif

Share this post


Link to post
Share on other sites

Nope and nope thanks anyways guys.

Figured it out by the way -

{[_x] Exec "Scriptname"} forEach _array

Share this post


Link to post
Share on other sites
Nope and nope thanks anyways guys.

Figured it out by the way -

{[_x] Exec "Scriptname"} forEach _array

Only works on Ofp Res, or?

Share this post


Link to post
Share on other sites
Nope and nope thanks anyways guys.

Figured it out by the way -

{[_x] Exec "Scriptname"} forEach _array

You can also use

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"[_x] Exec ""Scriptname""" forEach _array

for OFP v.<1.85

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  

×