M.Evans 10 Posted December 7, 2012 (edited) I have two triggers set up, one is called trig one, and the other trig two Trig one name "obj2" OPFOR not present INIT BOX = "2" objStatus "DONE"; tskobj_2 setTaskState "SUCCEEDED"; player setCurrentTask tskobj_3; obj_2 = true; publicVariable "obj_2"; deleteMarker "border"; Trig Two name "obj3" OPFOR not present INIT BOX = "3" objStatus "DONE"; tskobj_3 setTaskState "SUCCEEDED"; player setCurrentTask tskobj_4; obj_3 = true; publicVariable "obj_3"; deleteMarker "border_1"; Now what I want is after these two objectives complete I would like to move the respawn_west marker to a game logic location called "inland" along with a few other boxes. I tried doing this with a trigger, but for some reason it did not work, I took the working code from my other mission and put it in renamed it and everything, but no luck. Here is the code I used for the third trigger Trig Three Condition = this INIT BOX = obj3=true; "respawn_west" setmarkerpos (getpos inland); cr1 setPos (getPos boot1); cr2 setPos (getPos boot2); cr3 setPos (getPos boot3); c1 setPos (getPos boot4); c2 setPos (getPos boot5); c3 setPos (getPos boot6); (the boot1 - boot6 are invisible grasscutters named accordingly) (cr1-3 are boxes, and c1-3 are parachutes on the ground) I previewed it and it did not work, I was sure the setPos code was going to at least move the stuff, I guess not. :/ I think it may have something to do with the way I tried to use obj3 = true, I have a feeling that breaks it, if anyone has any better ideas or can fix this please help me out, thanks. Edited December 7, 2012 by M.Evans Share this post Link to post Share on other sites
iceman77 14 Posted December 7, 2012 (edited) So you need to check the states of variables. So basically if obj_2 and obj_3 variables are true then... move some shit around condition (3rd trigger): obj_2 && obj_3 OnAct (3rd trigger): "respawn_west" setmarkerpos (getpos inland); cr1 setPos (getPos boot1); cr2 setPos (getPos boot2); cr3 setPos (getPos boot3); c1 setPos (getPos boot4); c2 setPos (getPos boot5); c3 setPos (getPos boot6); Edited December 7, 2012 by Iceman77 Share this post Link to post Share on other sites
M.Evans 10 Posted December 7, 2012 thank you that worked, I knew it was something with the condition, thanks again Share this post Link to post Share on other sites