Hi all.
What is the correct Syntax for a script that would create a GetIn Waypoint?
I have something like this:
;Forms the group.
[S2, S3, S4] Join S1;
;Gives a name to the group.
Grp1 = Group S1;
;Creates a waypoint for the group.
Grp1 AddWaypoint [Position S1, 0];
;Sets the waypoint type.
[Grp1, 0] SetWaypointType "GetIn";
;Sets teh waypoint's postion.
[Grp1, 0] SetWaypointPosition [Position Jeep1, 0]
The only thing that works is that the group is formed and is given the Grp1. I had tried a different way where the group would actually move to the Jeep1's position but did not enter. Anyway, the way the codes are posted above, I get no error message but it does not work.
Can someone help me?
Thank You very much.
EDIT:
Ok, I found out my mistake about the SetWaypointPos command. I don't need this command. Now I use these codes:
;Forms the group.
[S2, S3, S4] Join S1;
;Gives a name to the group.
Grp1 = Group S1;
;Creates a waypoint for the group.
Grp1 AddWaypoint [Position S1, 0];
;Sets the waypoint type.
[Grp1, 0] SetWaypointType "GetIn";
The units do group, the name is given, and they move the the Jeep1's position but do not get in. I am missing something simple I know it.
Jason