OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: S.T.O.S on 22 Jan 2005, 16:05:50
-
Back Once again..
Hi just wanted to know how to make a unit
move to a position on the map with a trigger.
and it needs to be done with a radio..
Thx for your assistance..
-
You can make him move with either a doMove or a Move command, or you could move his waypoints with a setWPPos command. Check the Editors Dept, Online References, Commands
The trigger should specify what condition you want to make him move and the activation field should include the chosen command line.
Alternatively you could place a waypoint where you want him to go with a switch trigger synchronised with the waypoint immediately before it.
-
I'd just use domove.
So, activation West, WestHomie domove getpos WestHomiesMovepos
You will have to put down a game logic and name it accordingly.
-
Or, you could use a switch trigger to make the unit, but I think the idea's mentioned above would work much better.