I'm trying to use the infernal model for a spell, but it's not showing up in game. Inside of WE, it shows just fine. The model isn't custom. I gave it a shadow just to show where it is.
I'll include the triggers too if it helps.
I'll include the triggers too if it helps.
-
Star Smasher
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Star Smasher (New Rhyszard R)
-
Actions
- Player - Disable Star Smasher (New Rhyszard R) for (Owner of (Triggering unit))
- Player - Enable Star Smasher (New Rhyszard R, Unit Spell) for (Owner of (Triggering unit))
- Trigger - Turn on Star Smasher Timer <gen>
- Countdown Timer - Start Star_Smasher_Timer as a One-shot timer that will expire in 15.00 seconds
- Set Star_Smasher_C = (Triggering unit)
- Set Star_Smasher_Integer[0] = 3
-
Events
-
Star Smasher 2nd
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Star Smasher (New Rhyszard R, Unit Spell)
-
Actions
- Set Star_Smasher_Integer[0] = (Star_Smasher_Integer[0] - 1)
- Set Star_Smasher_Integer[1] = (Star_Smasher_Integer[1] + 1)
- Set Star_Smasher_Integer[2] = (Star_Smasher_Integer[2] + 1)
- Set Star_Smasher_P[Star_Smasher_Integer[2]] = (Target point of ability being cast)
- Unit - Create 1 Star Smasher for (Owner of (Triggering unit)) at Star_Smasher_P[Star_Smasher_Integer[2]] facing Default building facing degrees
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Set Star_Smasher_Boolean[Star_Smasher_Integer[2]] = True
- Set Star_Smasher_Integer_Timer[Star_Smasher_Integer[2]] = 11
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Star Smasher DPS <gen> is on) Equal to True
- Then - Actions
-
Else - Actions
- Trigger - Turn on Star Smasher DPS <gen>
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Star_Smasher_Integer[0] Less than or equal to 0
-
Then - Actions
- Trigger - Run Star Smasher Timer <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
Events
-
Star Smasher DPS
-
Events
- Time - Every 0.05 seconds of game time
- Conditions
-
Actions
-
For each (Integer Star_Smasher_Integer[3]) from 1 to Star_Smasher_Integer[2], do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Star_Smasher_Boolean[Star_Smasher_Integer[3]] Equal to True
-
Then - Actions
- Set Star_Smasher_Integer_Timer[Star_Smasher_Integer[3]] = (Star_Smasher_Integer_Timer[Star_Smasher_Integer[3]] - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Star_Smasher_Integer_Timer[Star_Smasher_Integer[3]] Less than or equal to 0
-
Then - Actions
- Set Star_Smasher_Boolean[Star_Smasher_Integer[3]] = False
- Set Star_Smasher_T = (Units within 300.00 of Star_Smasher_P[Star_Smasher_Integer[3]] matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is Magic Immune) Not equal to True) and ((((Matching unit) is dead) Not equal to True) and (((Matching unit)
- Game - Display to (All players) the text: (String((Level of Star Smasher (New Rhyszard R) for Star_Smasher_C)))
-
Unit Group - Pick every unit in Star_Smasher_T and do (Actions)
-
Loop - Actions
- Unit - Cause Star_Smasher_C to damage (Picked unit), dealing ((200.00 x (Real((Level of Star Smasher (New Rhyszard R) for Star_Smasher_C)))) + ((9.00 x (Real((Level of Star Smasher (New Rhyszard R) for Star_Smasher_C)))) x (Real((Intelligence of Star_Smasher_C (Include bonuses)))))) damage of attack type Spells and damage type Normal
-
Loop - Actions
- Custom script: call DestroyGroup (udg_Star_Smasher_T)
- Custom script: call RemoveLocation (udg_Star_Smasher_P[udg_Star_Smasher_Integer[3]])
- Set Star_Smasher_Integer[1] = (Star_Smasher_Integer[1] - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Star_Smasher_Integer[1] Less than or equal to 0
-
Then - Actions
- Trigger - Turn off (This trigger)
- Set Star_Smasher_Integer[2] = 0
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer Star_Smasher_Integer[3]) from 1 to Star_Smasher_Integer[2], do (Actions)
-
Events