Jump to content
Sign in to follow this  
Gameadd1cted

ALICE and synchronizeObjectsAdd

Recommended Posts

I am trying to synchronize all the civilians spawned by the ALICE module to a First Aid: Battlefield Clearence. It doesn't work :(

this setvariable  [ "ALICE_civilianinit",  [{ _this addeventhandler ["killed", {if (isServer) then {_this spawn a3d_fnc_civilian_killed}}]; hint "Civ created"; Modules_FABC synchronizeObjectsAdd [_this]}]  ] call bis_fnc_variablespaceadd

Nevertheless, the player unit and an editor placed civilian have the following init:

Modules_FABC synchronizeObjectsAdd [this]

As you can imagine, I can drag the editor placed civilian, but not any spawned by ALICE.

Modules_FABC is the name of the module.

The hint works (whenever a civilian is spawned, it pops).

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  

×