Home   Help Search Login Register  

Author Topic: splitting groups and i waypoint issue  (Read 410 times)

0 Members and 1 Guest are viewing this topic.

Offline Tim Pink

  • ECP Team &
  • Former Staff
  • ****
  • "Down with a bang and that'll be the end"
splitting groups and i waypoint issue
« on: 08 May 2003, 06:46:49 »
hi again

How do you split goups.
eg, if i have a group of 9 men and at a certain part of the mission i want units 3,5 and 9 to split from the main group and move of to perform a recon task.
how do i do it?

oh and if i had a mission where after the objective is achieved the move to extration poit waypoint shows up how would i do that and how do you make that work for multiple objectives, eg after youve killed three generals, the move to extration point waypoint appears

"Whoever said nothing is impossible, never tried slamming a revolving door."

SimonRussi

  • Guest
Re:splitting groups and i waypoint issue
« Reply #1 on: 08 May 2003, 08:37:04 »
create a unit with the WPs you need for the "new" group. In this init write

newgroup = group this; delevehicle this

so you have the new group with WPs but the unit is deleted.

when you have to split you have to execute this (in a trig for example)

[unit3, unit5, unit9] join newgroup

To activate a "new" WP you have to create a trigger type SWITCH and group it with the WP before the one you want to activate. when the trig fires the new WP will be the actual one.

Anyway, these are maybe the most called q's, so searching the forum, FAQs and tutorials will explain everything  ;D

simon