OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Calamity on 04 Jul 2004, 05:45:16
-
Any one know what command to use to set the angle/direction of a marker. I've already used the SETMARKERPOS command in a looping script so that a marker moves with a unit. Now I want to set the direction of the marker, and arrow, to reflect what direction the unit is facing.
I searched but could not find anything.
Any ideas?
-
The only command I know of to change angle is setdir, but that only works on objects. A marker is enclosed in quotes making it a "string" therefore it won't work.
-
Just an idea.......maybe you could make your own markers.......one for each of maybe 8 cardinal directions.
Have them set on the map somewhere out of the way.
Then detect when your unit changes direction and swap the marker for the appropriate one.
;D
Planck