OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SoldierX on 07 Apr 2003, 19:11:28

Title: quick question
Post by: SoldierX on 07 Apr 2003, 19:11:28
How do I make a waypoint for a specific member of a squad?? ???
Title: Re:quick question
Post by: Flapje on 07 Apr 2003, 19:13:16
don't think you can, but try doing this: make a trigger, give the guy you want to have the wp name. then make a gl or something like that and put in the trigger (which is whoever-you-want present) name domove getpos glname
Title: Re:quick question
Post by: macguba on 07 Apr 2003, 21:42:23
You can't.

It is a fundamental principle of OFP that groups follow waypoints.   Individual soldiers do not.   (Unless of course the group contains only one soldier.)
Title: Re:quick question
Post by: SoldierX on 07 Apr 2003, 21:54:53
Well then is there any way to make a squad member(not the leader) to go a different squad like in the mission Ambush?
Title: Re:quick question
Post by: Igor Drukov on 07 Apr 2003, 21:59:05
You can override a group's waypoint : for instance, if mysoldier belongs to mygroup, and mygroup is assigned waypoints, mysoldier can leave his group if you use "commandmove".
mysoldier commandmove getpos whatever
Beware ! Once the soldier's reached his destination (i.e. whatever), he will join his group again.
Title: Re:quick question
Post by: macguba on 07 Apr 2003, 22:02:47
Yes.

[loon1] join newGroup

Syntax not guaranteed.