What is the script to unlock a door using a global plot number? I.E. Unlocks the door after GlobalNumber = 3? Where should i place it in the door utd?
void main()
{
if(GetGlobalNumber("BLA_BLA") == 3)
{
//identify the door or force field you want to unlock
object oDoor = GetObjectByTag("my_door");
//unlock the object
SetLocked(oDoor,FALSE);
}
}