Unit Spawning Units Scripting Help

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
darthvatrayen
Private Recruit
Posts: 24
Joined: Tue Jun 23, 2009 9:58 pm

Unit Spawning Units Scripting Help

Post by darthvatrayen »

Hello.

I wonder if it is possible to have one unit spawn multiple, other, units. Specifically, having an imperial officer spawning a squad of stormtroopers by him.

I was thinking that I would give the officer a "weapon" that, when activated, would trigger an ambush team to spawn (in this case stormtroopers) on another part of the map and then teleports the newly spawned units to the officer.

Problem is, I have no idea how I would script that. Any suggestions?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Unit Spawning Units Scripting Help

Post by DarthD.U.C.K. »

there was a topic discussing that long time ago, i think its linked in the tutorialthread
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Unit Spawning Units Scripting Help

Post by Maveritchell »

If it is not linked, I have had it bookmarked for a long time:
http://www.gametoast.com/forums/viewtop ... =27&t=6916
Post Reply