Jump to content
Sign in to follow this  
Impavido

Syntax in creatue unit INIT

Recommended Posts

I'm not having success running a script from the init line of new unit created by 'CREATEUNIT' using 'THIS' as an array.

Here is my current syntax:

"USMC_Soldier_TL" createUnit [getPos player, _group,"[this] exec "test.sqs"",1,"colonel"]

What have I got wrong?

Edited by Impavido

Share this post


Link to post
Share on other sites

That's the old format for OFP, someone posted the new one today, I'll search_before_posting for you.

Found it! Read more here.

Edited by kylania

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  

×