Well I've been afh (away from Hive) for about 6~7 months and if I visit hive, its because I am summoned. Well enough about my self
So I was just playing around in WE and I got some problems when I tried to do a custom spell.
My problems are the following:
•MUI'ness (Tho this time I can fix it but I am not really sure...)
•Bugs and stuff (My wc3 crashes when I add a specific action... I'll explain that later)
So, the first problem isn't really a problem to me since I partially know how to fix it, but still I need your help so that I will be sure.
However in the second problem I got some bugs. Everytime I add the action,
The Whole Trigger:
Hope someone will help me
EDIT: THE BUG IS THAT IT WILL CRASH WC3! CARE~ ♥
So I was just playing around in WE and I got some problems when I tried to do a custom spell.
My problems are the following:
•MUI'ness (Tho this time I can fix it but I am not really sure...)
•Bugs and stuff (My wc3 crashes when I add a specific action... I'll explain that later)
So, the first problem isn't really a problem to me since I partially know how to fix it, but still I need your help so that I will be sure.
However in the second problem I got some bugs. Everytime I add the action,
-
Unit Group - Pick every unit in (Units within 150.00 of DL_CasterPNT[DL_Max]) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Picked unit) is A structure) Not equal to True
- ((Picked unit) belongs to an ally of (Owner of DL_Caster[DL_Max])) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Unit - Order (Last created unit) to Human Sorceress - Slow (Picked unit)
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing (50.00 + (50.00 x (Real((Level of Dashing Light for DL_Caster[DL_Max]))))) damage of attack type Spells and damage type Normal
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
The Whole Trigger:
-
Dashing Light
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Dashing Light
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- DL_Max Equal to 0
-
Then - Actions
- Trigger - Turn on Dashing Light LOOP <gen>
- Else - Actions
-
If - Conditions
- Set DL_Max = (DL_Max + 1)
- Set DL_Caster[DL_Max] = (Triggering unit)
- Set DL_CasterPNT[DL_Max] = (Position of DL_Caster[DL_Max])
- Special Effect - Create a special effect at DL_CasterPNT[DL_Max] using Arcane Nova.mdx
- Special Effect - Destroy (Last created special effect)
- Special Effect - Create a special effect attached to the weapon of DL_Caster[DL_Max] using Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
- Set DL_SFX1[DL_Max] = (Last created special effect)
- Animation - Change DL_Caster[DL_Max]'s vertex coloring to (50.00%, 50.00%, 50.00%) with 20.00% transparency
- Set DL_TraveledValue[DL_Max] = ((1.10 x (Real((Intelligence of DL_Caster[DL_Max] (Include bonuses))))) + 0.00)
- Unit Group - Add DL_Caster[DL_Max] to DL_DashGRP[DL_Max]
- Custom script: call RemoveLocation (udg_DL_CasterPNT[udg_DL_Max])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Dashing Light LOOP
-
Events
- Time - Every 0.05 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in DL_DashGRP[DL_Max] and do (Actions)
-
Loop - Actions
- Set DL_CounterTimer[DL_Max] = (DL_CounterTimer[DL_Max] + 0.05)
- Set DL_Caster[DL_Max] = (Picked unit)
- Unit - Pause DL_Caster[DL_Max]
- Set DL_CasterPNT[DL_Max] = (Position of DL_Caster[DL_Max])
- Set DL_OffsetPNT[DL_Max] = (DL_CasterPNT[DL_Max] offset by DL_TraveledValue[DL_Max] towards (Facing of DL_Caster[DL_Max]) degrees)
- Special Effect - Create a special effect at DL_OffsetPNT[DL_Max] using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Move DL_Caster[DL_Max] instantly to DL_OffsetPNT[DL_Max]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- DL_CounterTimer[DL_Max] Greater than or equal to 0.50
-
Then - Actions
- Animation - Change DL_Caster[DL_Max]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
- Special Effect - Create a special effect at DL_CasterPNT[DL_Max] using Arcane Nova.mdx
- Special Effect - Destroy (Last created special effect)
- Special Effect - Destroy DL_SFX1[DL_Max]
- Unit - Unpause DL_Caster[DL_Max]
- Set DL_CounterTimer[DL_Max] = 0.00
- Set DL_Max = (DL_Max - 1)
- Set DL_Caster[DL_Max] = No unit
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation (udg_DL_OffsetPNT[udg_DL_Max])
-
Loop - Actions
-
Unit Group - Pick every unit in DL_DashGRP[DL_Max] and do (Actions)
-
Events
Hope someone will help me
EDIT: THE BUG IS THAT IT WILL CRASH WC3! CARE~ ♥