Home   Help Search Login Register  

Author Topic: How to group different soldiers?  (Read 722 times)

0 Members and 1 Guest are viewing this topic.

Colossos

  • Guest
How to group different soldiers?
« on: 24 May 2005, 18:14:05 »
Suppose i have 4 seperate soldiers (sol1,sol2,sol3 and sol4) in a base and they are patrolling all in different directions. How do I group these 4 soldiers together and execute a script that applies to those 4 soldiers? It's kinda ridiculous to make a script for each one of them!
(e.g. when a Stalin dies those 4 soldiers have to run to the North, I place a trigger with the condition "not (alive Stalin)" and in the "on activation" field I want a script that gives a command to those 4 soldiers. Note that those soldiers arent in the same group).


I've looked in the faq and read some tutorials (btw are you all like computer-wizards or what?) but pls explain to me in simple childish :) English. And if you can advice me a certain tutorial , dont hesitate.

And is there a way to find the coordinates of a certain spot on the map in the Editor? So i can tell my soldiers GoTo (145788,155774,66888)?

Thx.

Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Re:How to group different soldiers?
« Reply #1 on: 24 May 2005, 18:21:55 »

And is there a way to find the coordinates of a certain spot on the map in the Editor? So i can tell my soldiers GoTo (145788,155774,66888)?
Just look at the perivous post by  456820 "running away" If futher help is needed let me know but I'm sure if follow the link all the way out, it should answer the Question.  
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to group different soldiers?
« Reply #2 on: 24 May 2005, 18:43:29 »
If you want the four soldiers to join into one group either use join/join&lead waypoints or a join command.
Plenty of reviewed ArmA missions for you to play

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:How to group different soldiers?
« Reply #3 on: 24 May 2005, 19:17:54 »
To have units join some one:
Code: [Select]
[man,dude,guy] join Homie
Also the easiest way to find a position is to just put a game logic there then do guy domove getpos logic.

Or you can set down a gamelogic then look in the mission.sqm file and find its position OR you can put down an object then do
Code: [Select]
hint format["%1 %2",getpos Logic select 0, getpos logic select 1]
The format command may be a little off.
« Last Edit: 24 May 2005, 19:18:20 by RujiK »
I like your approach, lets see your departure.
Download the New Flashlight Script!

Colossos

  • Guest
Re:How to group different soldiers?
« Reply #4 on: 25 May 2005, 16:11:53 »
Thx for the replies! It works now!! I did not want to use the join/join and lead waypoints because you have to do it for every seperate unit and that makes the mission in the editor "unreadable".

I just have one more (newbie) question: i can make my chopper land and get the crew out but when my chopper flies to his next waypoint, those dumb soldiers who just got out also walk to that waypoint!! Grrrrr! What to do , what to do?

Ah and macguba, you know I lost my flashpoint-CD and today i followed your advice and ordered a new copy for only 7.99 Euro.  No Cracks for me  ;D
I just hope it gets here before the end of the year  :-\
« Last Edit: 25 May 2005, 16:16:08 by Colossos »

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:How to group different soldiers?
« Reply #5 on: 25 May 2005, 16:20:57 »

It sounds like they are grouped with the helicopter.  Try doing a

units join grpNull

instruction.

More usfully give one of the units a join grpNull instruction and then get the rest to join him.

Do you mean the crew?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to group different soldiers?
« Reply #6 on: 25 May 2005, 17:08:47 »
Quote
Ah and macguba, you know I lost my flashpoint-CD and today i followed your advice and ordered a new copy for only 7.99 Euro.  No Cracks for me

:thumbsup:
Plenty of reviewed ArmA missions for you to play