splatsh 10 Posted August 6, 2009 (edited) I have put a SecOps module on map, later on I sync it with player with this: SOM synchronizeobjectsadd [p0]; Then I want to get my tactical airstrike automatic, and not trough a trigger radio button. [["tactical_airstrike"], player] call BIS_SOM_addSupportRequestFunc; How to activate it in my .sqf file? I have try this: SOM synchronizeobjectsadd [p0]; [["tactical_airstrike"], player] call BIS_SOM_addSupportRequestFunc; and this SOM synchronizeobjectsadd [p0]; [[""tactical_airstrike""], player] call BIS_SOM_addSupportRequestFunc; nothing works ---------- Post added at 11:56 AM ---------- Previous post was at 10:50 AM ---------- Question 2, just in case of no one answer my first question why is not this working _trg = createTrigger["EmptyDetector",getPos player]; _trg setTriggerArea[0,0,0,false]; _trg setTriggerActivation["ALPHA","PRESENT",true]; _trg setTriggerStatements["this", "[""tactical_airstrike""], player] call BIS_SOM_addSupportRequestFunc;", ""]; If I create a trigger in editor with the same data it will work, why cant I create a trigger by code and get it to work?????????? Working: _trg setTriggerStatements["this", "[[""tactical_airstrike""], player] call BIS_SOM_addSupportRequestFunc;", ""]; I missed a "[" at the beginning. Edited August 6, 2009 by splatsh Share this post Link to post Share on other sites