PDA

View Full Version : emplaced gun


zubin
06-17-2002, 05:01 AM
I'm making a single player map and want to put an emplaced gun manned by a stormtrooper in it. How do I do that? I know how to put in an emplaced gun that can be used by the player but want an "enemy" one that you have to fight.

Xcom
06-17-2002, 05:32 AM
After you placed the gun entity, select it and open entity window and give it targetname.

key: targetname
value: gun1

Next, place your NPC_stormtrooper beside the gun. Give him following keys:

key: spawnscript
value: yavin_canyon/emplaced_guns

key: parm1
value: gun1

That's it.

zubin
06-17-2002, 05:50 AM
worked great. thanks xcom!