Home   Help Search Login Register  

Author Topic: making units stay where you put them  (Read 666 times)

0 Members and 1 Guest are viewing this topic.

unkie

  • Guest
making units stay where you put them
« on: 20 Jan 2003, 06:48:44 »
hi all, i was wondering how to make units of a group stay in the precise position where you put them....e.g like when you place them individually, ungrouped. When they're in a group, they start out in the right position, but then automatically move back into formation, even if you start them with "none" under the special box. Preferably without using disableai "move"

_hammy_

  • Guest
Re:making units stay where you put them
« Reply #1 on: 20 Jan 2003, 08:35:07 »
put a 'hold' waypoint over them

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:making units stay where you put them
« Reply #2 on: 20 Jan 2003, 12:29:19 »
"_x stop TRUE" forEach units your_grp

your_grp being the name of your group. You get group names by putting your_group_name=group this into one of the group members' init field.

This will make everyone in the group stop and stay still until you do a:

"_x stop FALSE" forEach units your_grp

at which point they'll regroup again. And that bs in the manual about the Stop command being obsolete...disregard.  ::) At least 'til they find an "enableAI" command...

G'luck!

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

unkie

  • Guest
Re:making units stay where you put them
« Reply #3 on: 21 Jan 2003, 08:10:49 »
thanks a lot, that works perfect! :)

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:making units stay where you put them
« Reply #4 on: 21 Jan 2003, 23:21:58 »

...At least 'til they find an "enableAI" command...


=========================================

lol