Home   Help Search Login Register  

Author Topic: Troop Placement  (Read 749 times)

0 Members and 1 Guest are viewing this topic.

jamie_psx

  • Guest
Troop Placement
« on: 07 May 2003, 15:49:04 »
I'm making a mission, where a squad of six Deltas (a,b,c,d,e,f) gets out of a chopper (landing on a street in a town), and they have to secure the landing zone before the main assault force is choppered in.

Basically I need each of the six soldiers to move to his predetermined position. So for example 'a' moves to position 'aPos', 'b' to 'bPos', etc.

I've placed barrels named (aPos,bPos,cPos) at the desired locations.
And in the On Activation field in the group's last waypoint I typed:
a DoMove GetPos(aPos); b CommandMove GetPos(bPos); c CommandMove GetPos(cPos); . . .

and so on.

Also I need them to face specific directions, once they get into position.
So in the On Activation field of a 'later' waypoint
('later' as in the waypoint belongs to a different group, and get's activated after a,b,c,d,e,f have moved to their preassigned positions),
I typed in:
a SetDir 0; b SetDir 45; c SetDir 90; d SetDir 135; . . .
and so on.

Now the problem is that not all of the men move to their CommandMove positions.
I know the order is given by 'a' (the leader), because I've made myself one of the group, and I've heard the orders given.

Also, those that do move to their CommandMove positions don't face the proper direction indicated by their respective SetDir command.

Help  :-\

SimonRussi

  • Guest
Re:Troop Placement
« Reply #1 on: 07 May 2003, 16:12:52 »

I am not very sure but, the problem may be that the command must be given after they reach their position. Have you heard all the commands? I mean:
" 2, move to..."
" 3, move to..."
and so on...

and, men that don't move are in "Ready" position? it so, the problem should be this.

What about trying to put None in their special field instead of In formation?


simon
« Last Edit: 07 May 2003, 16:15:16 by SimonRussi »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Troop Placement
« Reply #2 on: 07 May 2003, 16:22:23 »
Try gamelogics rather than barrels, that might help.

Try watchDir (is it watchdir??) rather than setDir.   With setDir they are likely to turn to the correct direction for a split second then immediately go back to where they were before.
Plenty of reviewed ArmA missions for you to play

SimonRussi

  • Guest
Re:Troop Placement
« Reply #3 on: 07 May 2003, 16:32:08 »
it is "unit doWatch position"
so you have to put another "something" in the line of sight. But anyway you risk that your men will move away to have a better sight.

simon

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Troop Placement
« Reply #4 on: 07 May 2003, 17:21:46 »
doWatch, of course ..... I've just tried a quick experiment and AI will turn to watch a gamelogic, which helps.   However, they only turn as far as they need to bring the gl into their field of view.    In other words you will have to experiment a bit to get the gamelogics in the right place.  
Plenty of reviewed ArmA missions for you to play

jamie_psx

  • Guest
Re:Troop Placement
« Reply #5 on: 08 May 2003, 00:41:16 »

I am not very sure but, the problem may be that the command must be given after they reach their position. Have you heard all the commands? I mean:
" 2, move to..."
" 3, move to..."
and so on...
simon

Yeah, I do hear the "move to" command given by the leader of the group.  He gives it to each soldier, including me.


and, men that don't move are in "Ready" position? it so, the problem should be this.

What about trying to put None in their special field instead of In formation?
simon
Isn't that for when you start them off in the game, or does "none" still work after several waypoints?

jamie_psx

  • Guest
Re:Troop Placement
« Reply #6 on: 08 May 2003, 00:42:48 »
I'll try the DoWatch command, today.

Thanx guys. :)