Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
please test my map. View attachment Quietus.w3x . try to cast the spell as often as possible. i got a fatal error message and i wonder if anybody can tell me what is wrong
There's no need to make the location variable arrayed. Never use "every 0.01 seconds", 0.03 seconds works perfectly fine (this is probably what causes the crash).
Quietus start effect
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Quietus fireball (target point)
Actions
Set tempLoc1 = (Position of (Casting unit))
Set tempLoc2 = (Target point of ability being cast)
Set tempLoc3 = (tempLoc1 offset by 100.00 towards (Angle from tempLoc1 to tempLoc2) degrees)
Unit - Create 1 Quietus fireball for (Owner of (Casting unit)) at tempLoc3 facing tempLoc2
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Angle from tempLoc3 to tempLoc2) Less than 0.00
Then - Actions
Unit - Set mana of (Last created unit) to (360.00 + (Angle from tempLoc3 to tempLoc2))
Else - Actions
Unit - Set mana of (Last created unit) to (Angle from tempLoc3 to tempLoc2)
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Unit Group - Add (Last created unit) to Quietus_group
Custom script: call RemoveLocation(udg_tempLoc1)
Custom script: call RemoveLocation(udg_tempLoc2)
Custom script: call RemoveLocation(udg_tempLoc3)
Quietus timer
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in Quietus_group and do (Actions)
Loop - Actions
Set tempLoc1 = (Position of (Picked unit))
Set tempLoc2 = (tempLoc1 offset by 45.00 towards (Mana of (Picked unit)) degrees)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.