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 / Character Lives

Author
Message
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Jun 2009 12:27
Hey guys, does anyone have any ideas on how to make characters continuously spawn in the place where they first spawned, and running the destroy script (or some other means of script to be played when the character is killed)?

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Freakon
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location:
Posted: 22nd Jun 2009 17:08 Edited at: 22nd Jun 2009 17:10
Hello!

You can right click on the entity to edit the properties, in there you can set the amount of re-spawns and the time between re-spawns etc once that entity is destroyed, or script it:

In the destroy script of Guard 1, include the command Activateifused=1. In the properties of Guard 1 place the name of Guard 2 in the ifused box. In the properties of Guard 2 set the spawn at start to No.

(or you can continue the process for each Guard 3,4 etc)

You could also use a trigger zone to spawn a certain entity, say 2 guards in a room, when killed they will unlock the door leading to the next room where you could set up another trigger zone to spawn more guards/different guards.

In the trigger zone properties, add the name of the entity (guard 1 for example) to the ifused box, and change the script to plrinzoneactivateused.



Then edit the properties of the Entity (or Guard 1) to spawn at start no, and spawn after delay yes.



Using trigger zones to spawn after delay rather than the start of the game will free up some processing and loading time of the game as well!

Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 22nd Jun 2009 18:05
Quote: "Hey guys, does anyone have any ideas on how to make characters continuously spawn in the place where they first spawned, and running the destroy script (or some other means of script to be played when the character is killed)?"


hadnt you that already done in your mod or something ?

A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 22nd Jun 2009 19:22 Edited at: 22nd Jun 2009 19:41
Quote: "hadnt you that already done in your mod or something ?"


Ya wha? I got everything working but this was the only problem...

spurs1al -

I have tried all of that stuff as a basic. I have obviously thried editing the properties, but with charactors they have a destroy command in the script which must be there or else problems occur with an animated death. It is also impossible to place if used functions with zombies. It seems that the command written by airmod (setifused) doesnt work either.

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Freakon
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location:
Posted: 23rd Jun 2009 14:23
Sorry I can't help more, that was the height of my knowledge! Hopefully some one else can come on board and help out!!

Login to post a reply

Server time is: 2024-11-25 03:30:44
Your offset time is: 2024-11-25 03:30:44