So basically I've got three separated regions of the map; with one being an interior and two being an exterior. Here's my triggers:
whenever the unit arrives inside the castle and attempts to move around the game immediately crashes. This doesn't happen while in the exterior regions. Any ideas on how to fix this problematic issue?
-
SYS Castle Force Movement Inside
-
Events
-
Unit - A unit Is issued an order targeting a point
-
Unit - A unit Is issued an order targeting an object
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(AreaMainPlayable01 <gen> contains (Triggering unit)) Equal to True
-
(AreaMainPlayable02 <gen> contains (Triggering unit)) Equal to True
-
-
-
Or - Any (Conditions) are true
-
Conditions
-
(AreaSalemCastle <gen> contains (Target point of issued order)) Equal to True
-
(AreaSalemCastle <gen> contains (Target unit of issued order)) Equal to True
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Issued order) Equal to (Order(move))
-
-
Then - Actions
-
Unit - Order (Triggering unit) to Move To (Center of TeleportSalemToCastle <gen>)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Issued order) Equal to (Order(attack))
-
-
Then - Actions
-
Unit - Order (Triggering unit) to Attack-Move To (Center of TeleportSalemToCastle <gen>)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Issued order) Equal to (Order(smart))
-
-
Then - Actions
-
Unit - Order (Triggering unit) to Right-Click (Center of TeleportSalemToCastle <gen>)
-
-
Else - Actions
-
Unit - Order (Triggering unit) to Attack-Move To (Center of TeleportSalemToCastle <gen>)
-
-
-
-
-
-
-
-
-
SYS Castle Force Movement Outside
-
Events
-
Unit - A unit Is issued an order targeting a point
-
Unit - A unit Is issued an order targeting an object
-
-
Conditions
-
(AreaSalemCastle <gen> contains (Triggering unit)) Equal to True
-
Or - Any (Conditions) are true
-
Conditions
-
(AreaMainPlayable01 <gen> contains (Target point of issued order)) Equal to True
-
(AreaMainPlayable02 <gen> contains (Target point of issued order)) Equal to True
-
(AreaMainPlayable01 <gen> contains (Target unit of issued order)) Equal to True
-
(AreaMainPlayable02 <gen> contains (Target unit of issued order)) Equal to True
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Issued order) Equal to (Order(move))
-
-
Then - Actions
-
Unit - Order (Triggering unit) to Move To (Center of TeleportCastleToSalem <gen>)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Issued order) Equal to (Order(attack))
-
-
Then - Actions
-
Unit - Order (Triggering unit) to Attack-Move To (Center of TeleportCastleToSalem <gen>)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Issued order) Equal to (Order(smart))
-
-
Then - Actions
-
Unit - Order (Triggering unit) to Right-Click (Center of TeleportCastleToSalem <gen>)
-
-
Else - Actions
-
Unit - Order (Triggering unit) to Attack-Move To (Center of TeleportCastleToSalem <gen>)
-
-
-
-
-
-
-
-