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 / Player sees enemy

Author
Message
dumpus
16
Years of Service
User Offline
Joined: 1st Jan 2008
Location: Canada, eh?
Posted: 16th Feb 2009 00:23
Correct me if I'm wrong, but is there any way for an enemy to execute a script if the player sees them? Not the plrcanbeseen one, but if the player sees the enemy? I can't think of any other way it can be done...

*This post will self-destruct in 10 seconds.*
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 16th Feb 2009 05:31
I believe AirMod has a command called "entityvisible" or something like that. I believe that does what you're looking for.


The one and only,


dumpus
16
Years of Service
User Offline
Joined: 1st Jan 2008
Location: Canada, eh?
Posted: 16th Feb 2009 06:10
Thanks, I'll give it a try.

*This post will self-destruct in 10 seconds.*

Login to post a reply

Server time is: 2024-11-24 19:28:18
Your offset time is: 2024-11-24 19:28:18