![]() |
Player as a blocking object?
Ok, my problem...I have an npc that moves around a level and detects walls.
When it gets next to a player, it detects that player as a wall. (When using onwall()) I could get around this by detecting if the npc is near a player, and such, but I was wondering if there is another way to make it so the npc doesn't detect players as a wall. I've seen a function before that makes it so the npc doesnt detect players as blocking...somethign like noplayeronwall(). But I can't find anything of the sorts. =/ |
Quote:
(script of some DB NPC or so) PHP Code:
|
Is it a serverside only script? o.o
When I use it clientside, it returns an error in the f2 window. And if I use it serverside, the client still detects players as blocking. |
Quote:
|
Ah, thanks. ^_^
tileType worked perfectly. :D |
| All times are GMT +2. The time now is 11:19 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.