OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: hobson_matt on 05 Apr 2003, 10:00:05
-
Hi, quick mission question, i want to re-supply my troops mid-mission after a radio call, to wherever my troops are. Am thinking of some sort of link with moving a "H" to where my troops are and having a waypoint in the area, but is there any good way to do it over a large area? Is it possible to "setpos" waypoints?
I did try searching, but got nothing!! :-[
-
DonÂ't setpos anythin. Just put this in the on act field.
choppername commandmove getpos playername
or sumthin.
-
dunno if commandmove is right. if it isn't, try domove. if it is, please tell me ;D
-
If it helps ....
wapoint setWPPos position
Operand types:
wapoint: Array
position: Array
Compatibility:
Version 1.21 required.
Type of returned value:
Nothing
Description:
Set waypoint position. Waypoint is in format Waypoint. Position is in format Position2D.
Example:
[groupOne, 1] setWPPos getMarkerPos "MarkerOne"