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 / Make an enemy spawn with a trigger zone... And then delete it with another?

Author
Message
Sethon
16
Years of Service
User Offline
Joined: 29th Jan 2008
Location:
Posted: 4th Feb 2008 06:10
'Ello once again, all. I've been working on my first full-length game for about a week now, and I'm going for a F.E.A.R. style of "scare-tactics", and I really would like to spawn an entity (to reduce lag), and then have him/her be destroyed with another after they are out of view.

Is this possible?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 4th Feb 2008 07:19
Try using this script for your character entity that you want destroyed after the player can't be seen anymore.



Give that to your entity that needs to disappear after the player walks away. Set it's view cone angle to 360 in the properties window.


The one and only,
~PlystirE~

Login to post a reply

Server time is: 2024-11-24 03:32:59
Your offset time is: 2024-11-24 03:32:59