Jump to content

Recommended Posts

Hello everyone. Is there a way to run a script on the cursor object? Situation:

The enemy soldier is captive but he is under the cache of the GAIA script (group this) setVariable ["mcc_gaia_cache",true, true]; and still refers to the GAIA command even he is captured so artillery and other enemy forces knows about every opposite unit around captured one, sending forces to conflict area and fire artillery also. My question is if I can set gaia cache to false with some kind of addAction or using debug console in that case on cursor targets so captured unit stop being cached anymore once he is captured? For now, I use subsystem with Zeus to open unit "soul" and there I put code (group this) setVariable ["mcc_gaia_cache",false, false]; but that is much plastic way and a lot of unrealistic surgery. Something like cursorObject setVariable bla bla but how? Thanks in advance

 

solved. if someone ever looks for:

(group cursorTarget) setVariable ["mcc_gaia_cache",false, false];

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

×