Frictional Games Forum (read-only)
[SCRIPT] Waterlurker script isn't working - 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: [SCRIPT] Waterlurker script isn't working (/thread-25239.html)



Waterlurker script isn't working - MacKetchup - 05-08-2014

AddEntityCollideCallback("waterlurker_1", "ScriptArea_12", "BortMedDig", true , 1);
ยจ
void BortMedDig(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("waterlurker_1", false);
}

Shouldn't this work for the water lurker to disappear?


RE: Waterlurker script isn't working - DnALANGE - 05-08-2014

Sure the scriptarea is named correctly?
and the waterlurker is toutching it?
AND is the waterlurker name correct?


RE: Waterlurker script isn't working - MacKetchup - 05-08-2014

copied everything from the leveleditor