OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: Speeder on 07 Jul 2010, 09:52:50

Title: Spawning
Post by: Speeder on 07 Jul 2010, 09:52:50
I know that this subject has been turned over more than once, however, me being a complete idiot, when it comes to spawning, I need some help.


I want to build to a shootingrange with live targets running across the range, and then against the players.

Storyline:

My players will be at the top of a hill.
When ready they can press Radio Alpha. This will trigger one group of enemy infantry to spawn, and run across the shooting range, and then towards the shooters, with skill level like 0.4

When the units has been killed, they can press ALPHA again, and do it again.

If they press Bravo I would like to spawn 2 groups, but with higher skill level like 0.7

Title: Re: Spawning
Post by: nominesine on 07 Jul 2010, 10:10:37
And what exactly is it that puzzles you?
Title: Re: Spawning
Post by: Speeder on 07 Jul 2010, 10:13:30
Just how to actually do it.

It's a bit to advanged for me. I kinda need something to work-out-of-the-box.
Title: Re: Spawning
Post by: nominesine on 07 Jul 2010, 10:35:54
Hmm... I don't have time to do it for you, but I would execute my scripts from the triggers you mentioned. Take a look at the command Create Unit (http://www.ofpec.com/COMREF/index.php?action=details&id=454&game=All). That should get you started.

Good luck  :good: