deepstrasz
Map Reviewer
- Joined
- Jun 4, 2009
- Messages
- 20,253
Hello hivers!
The World Editor isn't too friendly when it comes to Lightning triggers. Every time I Save a game when some Lightning effects are in course/action and then Load and do an action that destroys them it results in instantly crashing the game. After Loading the game the lightning effects don't even appear anymore.
Now I've searched the forums but didn't find a suitable fix, at least not one for my understanding since I do not know programming at all and just use the help of the editor's sentence based triggers.
Here you have the triggers:
The World Editor isn't too friendly when it comes to Lightning triggers. Every time I Save a game when some Lightning effects are in course/action and then Load and do an action that destroys them it results in instantly crashing the game. After Loading the game the lightning effects don't even appear anymore.
Now I've searched the forums but didn't find a suitable fix, at least not one for my understanding since I do not know programming at all and just use the help of the editor's sentence based triggers.
Here you have the triggers:
-
RT Frozen Statue Cr8
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
-------- Create --------
-
Unit - Create 1 Frozen Statue for Neutral Passive at (Center of RTFrozenStatue <gen>) facing 270.00 degrees
-
Set RTFrozenStatue = (Last created unit)
-
-------- Animation Freeze --------
-
Animation - Change RTFrozenStatue's animation speed to 0.00% of its original speed
-
-------- Transparency --------
-
Animation - Change RTFrozenStatue's vertex coloring to (100.00%, 100.00%, 100.00%) with 75.00% transparency
-
-
-
RTFZ Charge Timer
-
Events
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RTPengSwitchON Equal to True
-
-
Then - Actions
-
-------- Statue Charge Timer --------
-
Countdown Timer - Start RTStatueTimer as a One-shot timer that will expire in 10.00 seconds
-
Set RTStatueTimer = (Last started timer)
-
Countdown Timer - Create a timer window for RTStatueTimer with title Statue Charge:
-
Set RTStatueTimerWindow = (Last created timer window)
-
-------- Lasers ON --------
-
Lightning - Create a Mana Flare lightning effect from source (Center of RTCrystal1 <gen>) to target (Center of RTFrozenStatue <gen>)
-
Set RTCrystalLaser1 = (Last created lightning effect)
-
Lightning - Create a Mana Flare lightning effect from source (Center of RTCrystal2 <gen>) to target (Center of RTFrozenStatue <gen>)
-
Set RTCrystalLaser2 = (Last created lightning effect)
-
-------- Lasers Sound Loop --------
-
Sound - Play MagicLariatLoop1 <gen> at 100.00% volume, located at (Center of RTCrystal1 <gen>) with Z offset 0.00
-
Set RTCrystalLaser1Sound = (Last played sound)
-
Sound - Play MagicLariatLoop1 <gen> at 100.00% volume, located at (Center of RTCrystal2 <gen>) with Z offset 0.00
-
Set RTCrystalLaser2Sound = (Last played sound)
-
-------- Run Charge Steps --------
-
Trigger - Run RTFZ Charge Steps <gen> (checking conditions)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
RTFZ Charge Steps
-
Events
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RTPengSwitchON Equal to True
-
-
Then - Actions
-
Wait 1.00 seconds
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
RTFZ Charge Timer Expires
-
Events
-
Time - RTStatueTimer expires
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RTPengSwitchON Equal to True
-
-
Then - Actions
-
-------- Timer OFF --------
-
Countdown Timer - Destroy RTStatueTimerWindow
-
-------- Lasers OFF --------
-
Lightning - Destroy RTCrystalLaser1
-
Lightning - Destroy RTCrystalLaser2
-
-------- Lasers Mute --------
-
Sound - Destroy RTCrystalLaser1Sound
-
Sound - Destroy RTCrystalLaser2Sound
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
RTFZ Charge Timer Cancel
-
Events
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RTPengSwitchON Equal to False
-
-
Then - Actions
-
-------- Timer OFF --------
-
Countdown Timer - Destroy RTStatueTimerWindow
-
-------- Lasers OFF --------
-
Lightning - Destroy RTCrystalLaser1
-
Lightning - Destroy RTCrystalLaser2
-
-------- Lasers Mute --------
-
Sound - Destroy RTCrystalLaser1Sound
-
Sound - Destroy RTCrystalLaser2Sound
-
-
Else - Actions
-
Do nothing
-
-
-
-
Last edited: