Home   Help Search Login Register  

Author Topic: Spawning units  (Read 505 times)

0 Members and 1 Guest are viewing this topic.

max_killer_payne

  • Guest
Spawning units
« on: 04 Apr 2004, 16:35:01 »
How do i spawn units out of nothing, I am doing a mission using the Starship Troopers mod and I want to make a HUGE battle without putting too many units on the screen, as to reduce lag.

So, basically, after a certain number, or certain bug dies, i want a group of 5 more bugs to spawn, somewhere that the player cant see, so it makes it seems like there are endless enemies.

I also want this to happen with the MI, so that once a certain amount of men die a dropship will come down and drop off a squad more. I can script all of this except the spawning more units out of the blue part.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Spawning units
« Reply #1 on: 04 Apr 2004, 19:16:05 »
Search the forums and the editors depot with keyword 'createunit'. Check the command in the official command reference as well.
Not all is lost.

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:Spawning units
« Reply #2 on: 05 Apr 2004, 22:00:04 »
Hey Deathwish!

            Take a look in the Editor's Depot! I found AI SP/MP Respawn in the pending section and Trigger Enemy Spawn in the unit section. These should help to get you started with spawning units! 8)


                                                                                         Wadmann
Check out my Camouflage Collection! New items added 31 July 2005.

max_killer_payne

  • Guest
Re:Spawning units
« Reply #3 on: 06 Apr 2004, 11:24:51 »
Thanks man  ;D