|
Post by K-Jah on Apr 18, 2006 10:39:21 GMT
Tutorial
Your player is shooting people, you can't put more people than what you already have in the room because the game would probably end up being too hard or your frame rate would drop to unplayable levels.
So what can be done to stop this from happening? Spawning.
1) Set up two enemies in a room or on corridors outside it.
Call them both A1
Set the main FPI script to pace and the shoot script to one of your choice.
Then in the Respawn section:
-Set "Spawn at start?" to No -Set "Max at any time" to 1 (or more if you wish) -Set "Max spawn" to 3 (or more if you wish) -Set "Spawn when dead?" to Yes -Set "Number to Spawn" to 1 (or any number less than "Max at any time".
2) Set way point paths from the enemy to where you want the entities to walk to (this is covered in the manual).
3) Now put a trigger zone behind the door where the player will walk in.
-Set the main FPI script to plrinzoneactivateifused.fpi - Then put A1 in the If Used box
4) Test your game, when you walk into the room the entities should spawn and follow their way point paths, when they die the process should be repeated until the "Max spawn" value has been reached.
Hope this helps someone. If it did, post below!
KW
|
|