PDA

View Full Version : Displacement of the units of a group



-Soviet-
Feb 27 2006, 18:37
Hi,

I want every member of a group dont move after I placed it.

Each member of the groupe: Special = None.

I tried a lot of things without success... http://forums.bistudio.com/oldsmileys/help.gif

Thanks

-Soviet-

THobson
Feb 27 2006, 19:30
I think you might also need to use

{doStop _x} forEach units group this

in the init field of one of the units in the group

-Soviet-
Feb 27 2006, 19:53
Hi,

Thx, it's working! http://forums.bistudio.com/oldsmileys/smile_o.gif

Something for all the group via a trigger?

-Soviet-

THobson
Feb 27 2006, 19:58
{doStop _x} forEach units groupname

or

{doStop _x} forEach units group unitname

-Soviet-
Feb 27 2006, 20:55
Hi,

I have another question...  http://forums.bistudio.com/oldsmileys/rofl.gif

If I want the unit/group stay in the initial position.

I tried two things without sucess: getdir this and this dowatch.

Thx

-Soviet-

THobson
Feb 28 2006, 11:05
If doStop doesn't do it try a fast loop to setPos each unit in its starting location.