Dan7 1 Posted January 28, 2012 Hi, Why I can not move if a trigger type in "guarded by EAST", but it works with type "NONE" and I use the command: trigger1 setPos getPos unit1 I tried with my trigger1 type "NONE" and and another trigger : trigger1 settriggertype "EAST G" (when it was moved when I wanted) ... But that still does not work ... thk Share this post Link to post Share on other sites
f2k sel 164 Posted January 30, 2012 It doesn't want to move so I'd look at creating one when it's needed. so in a script it would look something like this depending how you want it set up. _trg = createTrigger["EmptyDetector",getPos unit1]; _trg setTriggerArea[50,50,0,false]; _trg setTriggerActivation ["any","present",false]; _trg setTriggerStatements["this","", ""]; _trg setTriggerType "EAST G"; Share this post Link to post Share on other sites
Dan7 1 Posted February 1, 2012 Ok, thank you for this soluce. As against to activate it, I put this code in a Init.sqs but nothing happens ... Share this post Link to post Share on other sites
twirly 11 Posted February 1, 2012 (edited) Ok, thank you for this soluce. As against to activate it, I put this code in a Init.sqs but nothing happens ... Put it in init.sqf and not an init.sqs! There's no need to ever use .sqs... it's the older scripting language for Operation Flashpoint. EDIT: It probably shouldn't be in the init.sqf either actually.... but called in another script when needed as F2k Sel suggested. Edited February 1, 2012 by twirly Spelling error && added stuff Share this post Link to post Share on other sites