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 / is there a script command that means an entity can only see you when it's on the same level as you?

Author
Message
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 15th Aug 2009 18:47
hey all, does anybody know of a script command that means an NPC can only see you when he is on the same level as you? e.g (so he walks up some stairs then sees you)
if there is can you tell me? thanks.

i like apple juice. (the mod and the drink)
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 15th Aug 2009 22:20
there's (plrelevwithin=VALUE) which is true when the player can be seen in VALUE degrees vertical..

just so u know the (ifplrcanbeseen) command works when the NPC sees the player directly, so if the NPC is downstairs and the player is upstairs right on top of it, he won't be seen..

shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 15th Aug 2009 22:53
ahh... i was using plrdistwithin...
thanks bibo.

i like apple juice. (the mod and the drink)
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 16th Aug 2009 01:14 Edited at: 16th Aug 2009 01:15
np glad to help.. =)

DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 19th Aug 2009 20:57
making a turret?

If every millisecond in your life was 10 problems in the world, you'd be immortal

Login to post a reply

Server time is: 2024-11-25 06:56:51
Your offset time is: 2024-11-25 06:56:51