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 Product Chat / How to allow NPC's through invisible walls

Author
Message
caleblich
11
Years of Service
User Offline
Joined: 24th Jun 2012
Location:
Posted: 29th Aug 2015 20:12
Hey everyone!

I've started playing around with FPS Creator again recently, and have made this thing where the player can't leave, but the enemies come in via waypoints. I've set invisible walls found around the forums to stops the player from leaving the main part, however that renders the NPC's unable to get past.

I was wondering if anyone had any knowledge on how id go about fixing this problem

Thanks!



HAG
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 31st Aug 2015 00:09
caleblich
Hi, If I understand your problem correctly it shouldn't be too hard
to pull off. I would try two commands for this. First "plrdistwithin" and second the "colon" & "coloff" commands. In your wall/barrier script make sure collision is off (e.g. coloff) but when the player
gets too close (e.g. plrdistwithin=50) turn the collision back on
with the action "colon"
Try that and see if it works?
best

My games never have bugs. They just develop random features..
Lots and lots of random features...
caleblich
11
Years of Service
User Offline
Joined: 24th Jun 2012
Location:
Posted: 2nd Sep 2015 03:27
@ncmacko
Cheers man! but unfortunately Im not too good with scripting, but i figured out a way luckily, not really a way but i just used a different invis wall and it worked

HAG

Login to post a reply

Server time is: 2024-04-19 00:02:34
Your offset time is: 2024-04-19 00:02:34