Frictional Games Forum (read-only)
CollideCallback help. - 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: CollideCallback help. (/thread-10389.html)



CollideCallback help. - Itskody - 09-18-2011

What script would i use if i want it so that when the lantern im holding collides with a script area, an event occurs?


RE: CollideCallback help. - Tanshaydar - 09-18-2011

You can use GetLanternActive() if player holds lantern when entering the area. Do not remove the collide callback until GetLanternActive returns true.