Jump to content
fn_Quiksilver

Adding spawned units to Curator

Recommended Posts

How to add spawned in units to curator?

ie.

Spawning in enemies via function.

_enemyGroup = createGroup east;

How do I add _enemyGroup to Curator editables?

Share this post


Link to post
Share on other sites

{*curatorModule* addCuratorEditableObjects [_x,false]} forEach units _enemyGroup;

Just replace *curatorModule* with the name of your curator module

Share this post


Link to post
Share on other sites

Calling the command individually for each group members creates unnecessary network traffic. It supports array already, so call it just once:

<curatorModule> addCuratorEditableObjects [units _enemyGroup,false];

Share this post


Link to post
Share on other sites

This code about is not working for me how can I add spawned units during the mission to ZEUS thank you been searching for a few days and can't find the answer 

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

×