Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Enemy spawn script

Author
Message
AceJ1995
14
Years of Service
User Offline
Joined: 10th May 2010
Location:
Posted: 12th May 2010 23:41
I have just started with FPS Creator and it's awesome, i'm still learning how to make scripts. How can I make a script that will spawn a enemy for me?
Pandagamesorg
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location: check your moms room :D
Posted: 13th May 2010 15:09
You know that if you go and open entitybank/WW2/Characters and bam you have a enemy.

If you want the enemy to respawn then just right click him go down to spawn settings and change them up as you need.
AceJ1995
14
Years of Service
User Offline
Joined: 10th May 2010
Location:
Posted: 14th May 2010 04:41
I mean i'm trying to make a trigger scrip that when the person goes ontop of the triggerscript THEN the enemies spawn at a certain place, how can I do this?
Suicidal Sodacan
14
Years of Service
User Offline
Joined: 25th Feb 2010
Location:
Posted: 17th May 2010 19:49
ok, what you want to do is fairly simple.

Step 1lace the enemy where you want it to spawn.

Step 2:Right click the enemy to access its entity properties window, and type a name in the NAME box (would initially be whatever the entity is called in the library) You'll also want to set SPAWN AT START to no, and the SPAWN AFTER DELAY to yes, but don't give it a time. Also, make sure that MAX AT ANY TIME is at least 1, otherwise it won't spawn.

Step 3:create the trigger zone where you want it, then access its properties. Type the enemies name (the one you assigned it) into the zone's IF USED box exactly as it was entered in the enemy's name box.

Step 5:Set up scripts. Put plrinzoneactivateused.fpi as the zone's main script

That should do it

Login to post a reply

Server time is: 2024-11-25 00:34:30
Your offset time is: 2024-11-25 00:34:30