- Joined
- May 18, 2013
- Messages
- 105
I need help figuring out what is causing the crash. I've posted the triggers and a link to the map.
Custom Race: Order of the Eternal Flame
Phoenix - Burning Plumage
(Active) The Phoenix molts, leaving a burning trail behind as he moves dealing 15 damage in 100 AoE. Requires 15 Mana to activate.
This a unit ability.
Custom Race: Order of the Eternal Flame
Phoenix - Burning Plumage
(Active) The Phoenix molts, leaving a burning trail behind as he moves dealing 15 damage in 100 AoE. Requires 15 Mana to activate.
This a unit ability.
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Phoenix - Burning Plumage
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- BlazeIndexsize Equal to 0
-
Then - Actions
- Trigger - Turn on SS loop <gen>
- Else - Actions
-
If - Conditions
- Set VariableSet BlazeIndexsize = (BlazeIndexsize + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- BlazeIndexsize Greater than BlazeMaxsize
-
Then - Actions
- Set VariableSet BlazeInteger[BlazeIndexsize] = BlazeIndexsize
- Set VariableSet BlazeMaxsize = BlazeIndexsize
- Else - Actions
-
If - Conditions
- Set VariableSet BlazeTemp = BlazeInteger[BlazeIndexsize]
- -------- Thats all no need for many variables for this spell --------
- Set VariableSet BlazeCaster[BlazeTemp] = (Triggering unit)
- Set VariableSet BlazeDuration[BlazeTemp] = ((Real((Level of Phoenix - Burning Plumage for BlazeCaster[BlazeTemp]))) + 7.00)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
- Time - Every 0.25 seconds of game time
- Conditions
-
Actions
-
For each (Integer BlazeLoop) from 1 to BlazeIndexsize, do (Actions)
-
Loop - Actions
- Set VariableSet BlazeTemp = BlazeInteger[BlazeLoop]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- BlazeDuration[BlazeTemp] Greater than 0.00
-
Then - Actions
- Set VariableSet BlazeDuration[BlazeTemp] = (BlazeDuration[BlazeTemp] - 0.25)
- -------- this is the fire trail --------
- Set VariableSet BlazePoint = (Position of BlazeCaster[BlazeTemp])
- Unit - Create 1 Dummy - Burning Plumage for (Owner of BlazeCaster[BlazeTemp]) at BlazePoint facing Default building facing degrees
- Unit - Add Dummy - Burning Plumage to (Last created unit)
- Unit - Set level of Dummy - Burning Plumage for (Last created unit) to (Level of Phoenix - Burning Plumage for BlazeCaster[BlazeTemp])
- Unit - Order (Last created unit) to Human Blood Mage - Flame Strike BlazePoint
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_BlazePoint)
-
Else - Actions
- Set VariableSet BlazeInteger[BlazeLoop] = BlazeInteger[BlazeIndexsize]
- Set VariableSet BlazeInteger[BlazeIndexsize] = BlazeTemp
- Set VariableSet BlazeIndexsize = (BlazeIndexsize - 1)
- Set VariableSet BlazeLoop = (BlazeLoop - 1)
-
If - Conditions
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- BlazeIndexsize Equal to 0
-
Then - Actions
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
-
For each (Integer BlazeLoop) from 1 to BlazeIndexsize, do (Actions)
Last edited: