Frictional Games Forum (read-only)
Having issues w/ script - 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: Having issues w/ script (/thread-24125.html)

Pages: 1 2


RE: Having issues w/ script - str4wberrypanic - 12-18-2013

FlawlessHair, this is what i did and it worked:


////////////////////////////
// Run when entering map
void OnEnter()
{

if(GetGlobalVarInt("Screwdriver_Picked_Up") == 1)
{
AddEntityCollideCallback("Player", "Start_Clock_Area", "Clock_Event", true, 1);
}

}


Just used some global variables and i did it!
Thank you guys, i really apreciate your help. :3


RE: Having issues w/ script - Traggey - 12-19-2013

Moooved~