there are two scripts to open a door
one is to open the door without key
and second to open the door with key
one is to open the door without key
Code:
0 {Open Door Without Key} X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Use(ID_DOOR, !X!, !Y!, !Z!, 2)
Code:
0 {Open Door With Key} X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.UseOn(ID_KEY, ID_DOOR, !X!, !Y!, !Z!, 2)