![]() |
Point-light going through walls fix? - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Point-light going through walls fix? (/thread-30688.html) Pages:
1
2
|
RE: Point-light going through walls fix? - Mudbill - 09-23-2015 I vaguely remember something about a look callback that doesn't need the LookAt function. Perhaps it's on the entity tab/area tab of your object... Ah, yes here it is: PHP Code: SetEntityPlayerLookAtCallback(string& asName, string& asCallback, bool abRemoveWhenLookedAt); But to answer your question, no, it wouldn't force them because it stops immediately. Additionally it used 0.0f in speed, so no effect should've been noticed. Regardless, you might as well use the line that was intended for this. The callback syntax is void MyFunc(string &in asEntity, int alState) |