OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Shodan on 27 May 2004, 20:24:06
-
I try to get an objective (OBJ_1) to complete when a jeep is blown up. I also try to get a tick to appear on the briefing. When I blow up the jeep, no tick appears.
Also, how do I get a marker previously hidden to appear once the jeep is dead and a radio channel to appear that causes a chopper to fly to a point for pickup?
-
Well that radio command can be in a trigger activation field.
Alpha sidechat "Okay we comin in guys get down!"
Alpha being the name of the pilot or heli. I'm not sure on markers, maybe reveal marker or sumthing? :-\
For objs I have a concrete answer. Name your jeep like car1. THen make a trigger thats activated by anyone and is always on so make the range of it like 550000 by 55000. In the condition field put
NOT ALIVE car1
And in the activation field put
"1" objstatus "DONE"
That should solve part of your problem. :)
-
thanks GuiltyRoachKilla. Your suggestion actually helped both. Now when the jeep snuffs it:gunman:, I get a nice green tick.
but I still need some help with the radio calling in for pickup. Any suggestions?
-
the marker is pretty easy, place the marker where you want it to appear set the marker type as "empty" so i doesnt show on the map then in the trigger add ; "nameofmarker" setmarkertype "Destroy"
so the activation of the trigger reads "1" objstatus "DONE"; "nameofmarker" setmarkertype "Destroy"
play around with the different types of markers such as
"Flag", "Flag1", "Dot", "Destroy", "Start", "End", "Warning", "Join", "Pickup", "Unknown", "Marker", "Arrow", "Empty".