Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
creating waypoints with code
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: creating waypoints with code (Read 440 times)
0 Members and 1 Guest are viewing this topic.
gadolinite
Guest
creating waypoints with code
«
on:
30 Aug 2003, 20:25:30 »
How do you create a waypoint for a unit to follow in a script?
Logged
Jujuman
Guest
Re:creating waypoints with code
«
Reply #1 on:
30 Aug 2003, 23:30:41 »
UnitName DoMove GetPos GL1
Where GL1 is a gamelogic or other objects
or
UnitName DoMove [1000,1000,1000]
where [1000,1000,1000] is the map coordinates.
These will cause the unit to move to what ever position you specified.
Logged
Sui
Former Staff
Re:creating waypoints with code
«
Reply #2 on:
31 Aug 2003, 03:16:43 »
Domove won't create a waypoint I'm afraid Juju
Domove is the equivilent of the group leader telling a unit to move to a position. Once they get there, they will move straight back into formation.
I suggest simply using the
move
command. This
will
add a waypoint to the group.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
creating waypoints with code
Top of page