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 / Kill triggered characters

Author
Message
Butt monkey
17
Years of Service
User Offline
Joined: 7th Dec 2006
Location: Scotland
Posted: 17th Feb 2009 19:37
Hi there. I am having a problem with I hope you guys can help me with.

I have built a large room with about 5 characters which do not attack you. They are there to set the mood of the level and follow waypoints etc to make the area look busy. They are spawned by trigger zone just before you enter the area.

You leave the room and the door locks itself behind you so you can't go back. I then want the characters to destroy themselves to keep performance as high as possible. I am having trouble however.

For a start I tried adding "activated=2,destroy" to their AI and while this DOES work their shadow remains and so I'm not actually sure if they have truly destroyed themselves (I doubt it). Another problem here is that if the player walks back across the original trigger zone I beleive they will all destroy themselves aswell...

Can anyone help me out?
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 17th Feb 2009 21:49
After the door locks itself can you not have a second trigger zone as your player exits set to spawn exploding barrels within proximity to the npc's, turn off the explosion sound effect and they entities would be killed off without the player noticing

- Why is everyone on here so rude? -
gorba flamingo
17
Years of Service
User Offline
Joined: 16th Oct 2007
Location: between crazy and all out insane!
Posted: 18th Feb 2009 00:54
id like to know this too, but my characters have a script where if the player kills them the game ends. i need to destroy them without triggering the failure of the game.

[url=http://profile.mygamercard.net/gorbafletch]
Butt monkey
17
Years of Service
User Offline
Joined: 7th Dec 2006
Location: Scotland
Posted: 18th Feb 2009 12:08
I thought of the barrel a while back too. I think I'll try it. My only concern was that it may lag when they spawned but hey, I'll give it a try.

Gorba. Why don't you just try adding activate=2,destroy to your AI. For all I know this DOES actually remove them but the game may think otherwise as the shadow still remains.

Login to post a reply

Server time is: 2024-11-24 19:53:47
Your offset time is: 2024-11-24 19:53:47