Xavier2 Posted December 1, 2004 Share Posted December 1, 2004 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? Link to comment Share on other sites More sharing options...
Darth333 Posted December 1, 2004 Share Posted December 1, 2004 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); } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.