Home   Help Search Login Register  

Author Topic: Order a group to rush in no matter what  (Read 920 times)

0 Members and 1 Guest are viewing this topic.

Offline Pr0ph3t

  • Members
  • *
Order a group to rush in no matter what
« on: 08 Aug 2006, 17:38:30 »
Is there a way to force units to move in no matter what? It seems that the units won't move in if they feel overwhelmed they'll keep their distance, I want them to run through like brain dead lambs.. (looks nice when you're running into battle and ppl are dropping around you). So is there a way to make a unit obey a waypoint no matter what?

Offline Pilot

  • Contributing Member
  • **
Re: Order a group to rush in no matter what
« Reply #1 on: 08 Aug 2006, 20:36:27 »
Put this in the group leader's init field:
{_x allowfleeing 0} foreach units group this;

Also, set the speed mode of the group to FULL in the waypoint.

You may also want to set the unit position of the units to "UP", this will mean they won't get down and crawl all the way.  Put the following code in the group leader's init field to make the soldiers stand up:
{_x setunitpos "UP"} foreach units group this;

-Pilot

Javito

  • Guest
Re: Order a group to rush in no matter what
« Reply #2 on: 08 Aug 2006, 21:21:24 »
If I have a specific group that I would like to order with radio alpha to all "setunitpos" what command would I have to enter in the activation field to do it?

Isn't there some online reference for all these commands? I hate having to come here and bug you guys everytime I can't figure something out :-).

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: Order a group to rush in no matter what
« Reply #3 on: 08 Aug 2006, 21:38:16 »
« Last Edit: 02 Jan 2009, 06:01:39 by Planck »