- Joined
- May 9, 2009
- Messages
- 735
Hello, I made a simple trigger that is supposed to add spells to certain unit types dependent on if a research is is completed.
This trigger has an issue. It makes my whole map impassible. All my units that are on the map can't really move around anywhere when I run the map. They sort of face in the direction and teleport randomly a few units in a random direction or just stay frozen. Also when I try exit the game the game freezes and I need to end it in the task manager.
I only figured out the trigger was causing this because when I delete the trigger the problem goes away.
-
Lich new spells
-
Events
-
Unit - A unit enters (Playable map area)
-
-
Conditions
-
(Current research level of Recovered Power for (Owner of (Entering unit))) Equal to 1
-
Or - Any (Conditions) are true
-
Conditions
-
(Unit-type of (Entering unit)) Equal to Lich (mage)
-
(Unit-type of (Entering unit)) Equal to Lich (necro)
-
(Unit-type of (Entering unit)) Equal to Lich (sage)
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Entering unit)) Equal to Lich (mage)
-
-
Then - Actions
-
Unit - Add Immolation (lich) to (Entering unit)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Entering unit)) Equal to Lich (necro)
-
-
Then - Actions
-
Unit - Add Dark Regeneration (lich) to (Entering unit)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Entering unit)) Equal to Lich (sage)
-
-
Then - Actions
-
Unit - Add Lightning Shield (lich) to (Entering unit)
-
-
Else - Actions
-
-
-
I only figured out the trigger was causing this because when I delete the trigger the problem goes away.