Initialize Gates
Events
Map initialization
Conditions
Actions
Hashtable - Create a hashtable
Set GateHash = (Last created hashtable)
Set GateOpenRange = 300.00
Set GatePickingArea = 1000.00
Set TempDestructibleType = Demonic Gate (Diagonal 1)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Demonic Gate (Diagonal 2)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Demonic Gate (Horizontal)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Demonic Gate (Vertical)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Elven Gate (Diagonal 1)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Elven Gate (Diagonal 2)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Elven Gate (Horizontal)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Elven Gate (Vertical)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Gate (Diagonal 1)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Gate (Diagonal 2)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Gate (Horizontal)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Gate (Vertical)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Iron Gate (Diagonal 1)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Iron Gate (Diagonal 2)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Iron Gate (Horizontal)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Iron Gate (Vertical)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempDestructibleType = Iron Gate (Vertical)
Custom script: call SaveInteger(udg_GateHash,udg_TempDestructibleType,0,1)
Set TempPoint = (Center of (Playable map area))
Set GateRect = (Region centered at TempPoint with size (GatePickingArea, GatePickingArea))
Custom script: call RemoveLocation(udg_TempPoint)
Custom script: call DestroyTrigger(GetTriggeringTrigger())