Search the Community
Showing results for tags 'cursorobject'.
Found 3 results
-
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];
-
- cursortarget
- cursorobject
-
(and 1 more)
Tagged with:
-
Unable to catch some objects via cursorTarget/Object
LSValmont posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I've added addActions to these two objects ("Land_Razorwire_F" and "RoadBarrier_F") yet still they don't show nor I can get both via cursorTarget/cursorObject. All other objects work fine. Is this because those object's real centers are somehow underground? Or what is the problem or is it a bug? UPDATE: Found another such object: I can addActions to "Land_Camping_Light_F" and it shows just fine but it doesn't work for its OFF version: "Land_Camping_Light_off_F". -
https://community.bistudio.com/wiki/addAction actRevive = player addAction [format [localize "STR_action_revive", name cursorObject], { [cursorObject, (_this select 0)] spawn Haz_fnc_revive; }, [], 0, false, false, "", "_this distance cursorObject <= 4 && cursorObject getVariable [""isUnconscious"", FALSE] && !(cursorObject getVariable [""isBeingRevived"", FALSE])"]; Something soo simple...
- 9 replies
-
- addaction
- evaluation
-
(and 3 more)
Tagged with: