Home   Help Search Login Register  

Author Topic: Group respawn  (Read 410 times)

0 Members and 1 Guest are viewing this topic.

johan_d2

  • Guest
Group respawn
« on: 16 Feb 2005, 19:22:36 »
Hi,

I looked with search, and in the code snippets, but couldnt find what I am looking for. Altought the script where they attack one from all directions is nice, but I understand not much of how to alter.

What I want is a group of soldiers, give them a couple of waypoints, and when they are killed, they respawn from the original point and restart the route all over.

Can anyone help? (and remember.. noob in scripting..)

Johan

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Group respawn
« Reply #1 on: 17 Feb 2005, 02:26:41 »
Noob to scripts ... and want to script => read snYpir's A Friendly Intro to Code Snippets + Johan Gustafsson's Scripting Tutorial.

You'll need a trigger to detect when the original group are dead and createUnit commands to make the new units.
Plenty of reviewed ArmA missions for you to play

johan_d2

  • Guest
Re:Group respawn
« Reply #2 on: 17 Feb 2005, 07:37:25 »
Sir, Yes Sir!

But.. I hoped someone has already a simple working script. I dont want to invent the wheel again. A lot of fine scripts are in the depot already, but missed this one.

A little modifications I can do, but not the while thing from scratch.. want to spend more time making the mission then do scripting.

Johan