OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gadolinite on 26 Apr 2003, 08:12:28
-
-how do you toggle the streetlights on and off via trigger?
-How do you get a convoy to stay on the road, and maintain a perfect shape?
-How would you get an AI plane to take off?
-
;) Hey m8y
1.) Since OFP version 1.75+ you can select "SHOW ID" or "HIDE ID".
In short, it allows ya to see each orig. object's unique ID number. so hit the SHOW ID butten in the editor, zoom in on yer streetlamp and then get the ID# :-*
The ID# is used in triggers, like this:
(object 37317) switchlight "on"
or:
(object 37317) switchlight "off"
or:
(object 37317) switchlight "auto"
...which is the default setting ( = off during the day & on all nite ).
Now, yer second prob. :D
How do you get a convoy to stay on the road, and maintain a perfect shape?
Well Bob, simply set the waypoints behaviour to "SAFE" and select "COLUMN" as formation.
And remember to put tanks in front, then the more soft vehicles (ie jeeps) :)
Abot the AI plane:
All OFP airports have an AI path running from the southern end of the runway towards north.
Sö, simply taxi out on the SOUTHERN part of the runway & then place another WP somewhere far awar, and the plane will take off & go there :-*
l8r
-
thanx