Jump to content

NPC Spawning Help


Recommended Posts

Hello, I have looked everywhere to a solution to my problem but still cannot figure it out.

 

Basically I am attempting to make a Arena and spawn competitors at a reference on command using a activator. I have so far been able to spawn one NPC at a linked reference but cannot figure out how to spawn more than one NPC. (Obviously not a great battle if there in one guy standing around).

 

I might add, I know you can spawn more than one NPC with the placeatme script but I wish for the NPC's to spawn at a reference.

 

The script I am using is as follows:

 

scn ArenaFightScript
short toggle

begin OnActivate
if toggle == 0
arenaslave01.resurrect
arenaslave01.Enable
arenaslave01.Moveto "fight01"
set toggle to 1
else
arenaslave01.Disable
arenaslave01.Moveto "fight01"
set toggle to 0
endif
end

 

As you can see there is one slave spawning and after you have finished with him you can clear what's left of him up and subsequently respawn him again. I wish to spawn more than one NPC everytime so how would I go about this?

 

Many Thanks.

Edited by CaptainTinkle
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...