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 / Spawn when player is awayand on this forum, I never found the answer

Author
Message
Brandon Dallaire
12
Years of Service
User Offline
Joined: 17th Apr 2012
Location:
Posted: 17th Apr 2012 23:16
After 2 hours of search on Internet and on this forum, I never found the answer so I post it:

I need a script or something that make zombies spawn infinitely, like a survival, but since the player is in the fog in a creepy house, I want the zombies to spawn where the player is not, like I don't want the player to see the zombie appear in is face... It wouldn't be really let's say realistic.

Brandon's modding-We mod what you think
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 18th Apr 2012 04:21
Welcome to TGC and the great world of fun with FPSC.

In a trigger zone in one room, when the player walks through it, he will spawn a zombie that you put in another room and so on and so forth.

I'll or someone else will explain it further if you need it. It's really not that difficult and not much scripting needed.

Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 18th Apr 2012 20:34
Its not perfect, but it should do the trick.
Set it as the appearscript for your character, it will not let the character to spawn until the player is 400 units (about 4 segments) away.

You wont get the same control as with a triggerzone, this script would probably be more useful for when you want waves of zombies to attack the player.

Hope it works!

Cheers!


- A secret signature -

Attachments

Login to view attachments
Brandon Dallaire
12
Years of Service
User Offline
Joined: 17th Apr 2012
Location:
Posted: 19th Apr 2012 16:44
Thanks Cyborg art! Thank you also Flatlander but your solution is a lot more time and resource wasting, and sorry but I'm new to the scripting I completely forgot that I could do that thanks

Brandon's modding-We mod what you think

Login to post a reply

Server time is: 2024-11-23 23:25:13
Your offset time is: 2024-11-23 23:25:13