OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: B2KDragon on 11 Aug 2008, 21:29:16
-
Cna someone plz help me again i need a script which will lock a certain vehicle until a objective has been completed if u have a tutorial tht can help or if someone else can do it tht would be grt
Dragon :blink:
-
Well, I assume that completion of the objective is triggering a trigger already. You just need to unlock the vehicle at the same time:
Vehicle to unlock should be named myVehicle and have init of "this lock true".
Trigger type and Condition: Whatever is appropriate for your objective.
On Act: "1" objStatus "DONE"; myVehicle lock false
Since mission-placed triggers are global, this will work fine in MP too. You may find the Triggers chapter (http://www.ofpec.com/ed_depot/beginners/triggers.php) of our editing tutorial useful.
-
k thks if i have any more problums ill let u know thks