• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Fire Awakes

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
When I make this spell, it becomes ultimate.Although it is simple, but deadly.Killing enemy with death fire that performing 8 line star.


trigger:

[trigger=Fire Awakes]
Fire Awakes
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Fire Awakes
Actions
Set Caster = (Triggering unit)
Set CasterPos = (Position of Caster)
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Set CasterPos_point = (CasterPos offset by (200.00 x (Real((Integer A)))) towards 0.00 degrees)
Set CasterPos_point_2 = (CasterPos offset by (200.00 x (Real((Integer A)))) towards 45.00 degrees)
Set CasterPos_point_3 = (CasterPos offset by (200.00 x (Real((Integer A)))) towards 90.00 degrees)
Set CasterPos_point_4 = (CasterPos offset by (200.00 x (Real((Integer A)))) towards 135.00 degrees)
Set CasterPos_point_5 = (CasterPos offset by (200.00 x (Real((Integer A)))) towards 180.00 degrees)
Set CasterPos_point_6 = (CasterPos offset by (200.00 x (Real((Integer A)))) towards 225.00 degrees)
Set CasterPos_point_7 = (CasterPos offset by (200.00 x (Real((Integer A)))) towards 270.00 degrees)
Set CasterPos_point_8 = (CasterPos offset by (200.00 x (Real((Integer A)))) towards 315.00 degrees)
Unit - Create 1 Fire Awakes Dummy for (Owner of Caster) at CasterPos_point facing Default building facing degrees
Set Dummy = (Last created unit)
Set DummyPos = (Position of Dummy)
Unit - Order Dummy to Human Mountain King - Thunder Clap
Unit - Add a 0.50 second Generic expiration timer to Dummy
Unit - Add Fire Awakes to Dummy
Special Effect - Create a special effect at DummyPos using Abilities\Spells\Items\AIam\AIamTarget.mdl
Set SpecEff = (Last created special effect)
Special Effect - Destroy SpecEff
Unit - Create 1 Fire Awakes Dummy for (Owner of Caster) at CasterPos_point_2 facing Default building facing degrees
Set Dummy = (Last created unit)
Set DummyPos = (Position of Dummy)
Unit - Order Dummy to Human Mountain King - Thunder Clap
Unit - Add a 0.50 second Generic expiration timer to Dummy
Unit - Add Fire Awakes to Dummy
Special Effect - Create a special effect at DummyPos using Abilities\Spells\Items\AIam\AIamTarget.mdl
Set SpecEff = (Last created special effect)
Special Effect - Destroy SpecEff
Unit - Create 1 Fire Awakes Dummy for (Owner of Caster) at CasterPos_point_3 facing Default building facing degrees
Set Dummy = (Last created unit)
Set DummyPos = (Position of Dummy)
Unit - Order Dummy to Human Mountain King - Thunder Clap
Unit - Add a 0.50 second Generic expiration timer to Dummy
Unit - Add Fire Awakes to Dummy
Special Effect - Create a special effect at DummyPos using Abilities\Spells\Items\AIam\AIamTarget.mdl
Set SpecEff = (Last created special effect)
Special Effect - Destroy SpecEff
Unit - Create 1 Fire Awakes Dummy for (Owner of Caster) at CasterPos_point_4 facing Default building facing degrees
Set Dummy = (Last created unit)
Set DummyPos = (Position of Dummy)
Unit - Order Dummy to Human Mountain King - Thunder Clap
Unit - Add a 0.50 second Generic expiration timer to Dummy
Unit - Add Fire Awakes to Dummy
Special Effect - Create a special effect at DummyPos using Abilities\Spells\Items\AIam\AIamTarget.mdl
Set SpecEff = (Last created special effect)
Special Effect - Destroy SpecEff
Unit - Create 1 Fire Awakes Dummy for (Owner of Caster) at CasterPos_point_5 facing Default building facing degrees
Set Dummy = (Last created unit)
Set DummyPos = (Position of Dummy)
Unit - Order Dummy to Human Mountain King - Thunder Clap
Unit - Add a 0.50 second Generic expiration timer to Dummy
Unit - Add Fire Awakes to Dummy
Special Effect - Create a special effect at DummyPos using Abilities\Spells\Items\AIam\AIamTarget.mdl
Set SpecEff = (Last created special effect)
Special Effect - Destroy SpecEff
Unit - Create 1 Fire Awakes Dummy for (Owner of Caster) at CasterPos_point_6 facing Default building facing degrees
Set Dummy = (Last created unit)
Set DummyPos = (Position of Dummy)
Unit - Order Dummy to Human Mountain King - Thunder Clap
Unit - Add a 0.50 second Generic expiration timer to Dummy
Unit - Add Fire Awakes to Dummy
Special Effect - Create a special effect at DummyPos using Abilities\Spells\Items\AIam\AIamTarget.mdl
Set SpecEff = (Last created special effect)
Special Effect - Destroy SpecEff
Unit - Create 1 Fire Awakes Dummy for (Owner of Caster) at CasterPos_point_7 facing Default building facing degrees
Set Dummy = (Last created unit)
Set DummyPos = (Position of Dummy)
Unit - Order Dummy to Human Mountain King - Thunder Clap
Unit - Add a 0.50 second Generic expiration timer to Dummy
Unit - Add Fire Awakes to Dummy
Special Effect - Create a special effect at DummyPos using Abilities\Spells\Items\AIam\AIamTarget.mdl
Set SpecEff = (Last created special effect)
Special Effect - Destroy SpecEff
Unit - Create 1 Fire Awakes Dummy for (Owner of Caster) at CasterPos_point_8 facing Default building facing degrees
Set Dummy = (Last created unit)
Set DummyPos = (Position of Dummy)
Unit - Order Dummy to Human Mountain King - Thunder Clap
Unit - Add a 0.50 second Generic expiration timer to Dummy
Unit - Add Fire Awakes to Dummy
Special Effect - Create a special effect at DummyPos using Abilities\Spells\Items\AIam\AIamTarget.mdl
Set SpecEff = (Last created special effect)
Special Effect - Destroy SpecEff
Custom script: call RemoveLocation(udg_CasterPos)
Custom script: call RemoveLocation(udg_CasterPos_point_2)
Custom script: call RemoveLocation(udg_CasterPos_point_3)
Custom script: call RemoveLocation(udg_CasterPos_point_4)
Custom script: call RemoveLocation(udg_CasterPos_point_5)
Custom script: call RemoveLocation(udg_CasterPos_point_6)
Custom script: call RemoveLocation(udg_CasterPos_point_7)
Custom script: call RemoveLocation(udg_CasterPos_point_8)

[/trigger]


And vote 4 approval....





Keywords:
Star,Fire,Death,Awakes,Awaken,Blaze
Contents

Fire Awakes (Map)

Reviews
18th July, Maker: This spell is too simple. It spams effects and could be triggered in a better way using a loop.
Level 6
Joined
Nov 15, 2010
Messages
112
wait, there are 2 types of FS's...one is the effect and the other one is the special...if i use the special one, it won't work..

and how to upload spell in a comment???

*edit*

and this http://www.hiveworkshop.com/forums/...279/multi-instancible-gui-spell-making-34393/ tutorial said that if we use waits, we need to add locals...so i add locals,special effect and waits just like this...

[trigger=]
Fire Awakes
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Fire Awakes
Actions
Custom script: local location udg_Caster
Custom script: local location udg_Caster_point
Custom script: local location udg_Caster_point_2
Custom script: local location udg_Caster_point_3
Custom script: local location udg_Caster_point_4
Custom script: local location udg_Caster_point_5
Custom script: local location udg_Caster_point_6
Custom script: local location udg_Caster_point_7
Custom script: local location udg_Caster_point_8
Set Caster = (Position of (Triggering unit))
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Set Caster_point = (Caster offset by (200.00 x (Real((Integer A)))) towards 0.00 degrees)
Set Caster_point_2 = (Caster offset by (200.00 x (Real((Integer A)))) towards 45.00 degrees)
Set Caster_point_3 = (Caster offset by (200.00 x (Real((Integer A)))) towards 90.00 degrees)
Set Caster_point_4 = (Caster offset by (200.00 x (Real((Integer A)))) towards 135.00 degrees)
Set Caster_point_5 = (Caster offset by (200.00 x (Real((Integer A)))) towards 180.00 degrees)
Set Caster_point_6 = (Caster offset by (200.00 x (Real((Integer A)))) towards 225.00 degrees)
Set Caster_point_7 = (Caster offset by (200.00 x (Real((Integer A)))) towards 270.00 degrees)
Set Caster_point_8 = (Caster offset by (200.00 x (Real((Integer A)))) towards 315.00 degrees)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_2 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_3 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_4 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_5 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_6 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_7 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_8 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_Caster)
Custom script: call RemoveLocation(udg_Caster_point)
Custom script: call RemoveLocation(udg_Caster_point_2)
Custom script: call RemoveLocation(udg_Caster_point_3)
Custom script: call RemoveLocation(udg_Caster_point_4)
Custom script: call RemoveLocation(udg_Caster_point_5)
Custom script: call RemoveLocation(udg_Caster_point_6)
Custom script: call RemoveLocation(udg_Caster_point_7)
Custom script: call RemoveLocation(udg_Caster_point_8)
[/trigger]
 
seriously, why use a wait 0.01 second... I think you should know that waits does not go below .2x seconds, even if you set it to a lower value, plus waits are INACCURATE...

I'm not sure bout this but, I think you should null the locals even if you used Global shadowing...

the waits would cause the destroyeffect function to malfunction is someone uses this almost at the same time...
 
Level 6
Joined
Nov 15, 2010
Messages
112
baassee: you mean like this???

[trigger=]
Fire Awakes
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Fire Awakes
Actions
Custom script: local location udg_Caster
Custom script: local location udg_Caster_point
Custom script: local location udg_Caster_point_2
Custom script: local location udg_Caster_point_3
Custom script: local location udg_Caster_point_4
Custom script: local location udg_Caster_point_5
Custom script: local location udg_Caster_point_6
Custom script: local location udg_Caster_point_7
Custom script: local location udg_Caster_point_8
Set Caster = (Position of (Triggering unit))
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Set Caster_point = (Caster offset by (200.00 x (Real((Integer A)))) towards 0.00 degrees)
Set Caster_point_2 = (Caster offset by (200.00 x (Real((Integer A)))) towards 45.00 degrees)
Set Caster_point_3 = (Caster offset by (200.00 x (Real((Integer A)))) towards 90.00 degrees)
Set Caster_point_4 = (Caster offset by (200.00 x (Real((Integer A)))) towards 135.00 degrees)
Set Caster_point_5 = (Caster offset by (200.00 x (Real((Integer A)))) towards 180.00 degrees)
Set Caster_point_6 = (Caster offset by (200.00 x (Real((Integer A)))) towards 225.00 degrees)
Set Caster_point_7 = (Caster offset by (200.00 x (Real((Integer A)))) towards 270.00 degrees)
Set Caster_point_8 = (Caster offset by (200.00 x (Real((Integer A)))) towards 315.00 degrees)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.05 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_2 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.05 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_3 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.05 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_4 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.05 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_5 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.05 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_6 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.05 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_7 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.05 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Fire Awakes Dummy for (Owner of (Triggering unit)) at Caster_point_8 facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Awakes to (Last created unit)
Special Effect - Create a special effect at Caster_point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.05 seconds
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_Caster)
Custom script: call RemoveLocation(udg_Caster_point)
Custom script: call RemoveLocation(udg_Caster_point_2)
Custom script: call RemoveLocation(udg_Caster_point_3)
Custom script: call RemoveLocation(udg_Caster_point_4)
Custom script: call RemoveLocation(udg_Caster_point_5)
Custom script: call RemoveLocation(udg_Caster_point_6)
Custom script: call RemoveLocation(udg_Caster_point_7)
Custom script: call RemoveLocation(udg_Caster_point_8)
[/trigger]

Adiktuz: so what im gonna use instead of waits???
 
Top