• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Wc3 Spell Raigou

Status
Not open for further replies.
Level 4
Joined
Oct 6, 2009
Messages
85
hey can some one help im making a spell called raigou it looks like these in the video

yeah you can make one for me but if not you can tell me how to change a unit size like the unit size is 100 and every 1 seconds the unit size + 50 and how do you make a condition sample when the units size is 500 then it turns off the trigger or something just tell me how and ill do the spell
 
Level 15
Joined
Jul 9, 2008
Messages
1,552
i have created a spell like it before here ill post the triggers

  • lighting ball
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Electric Ball
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LB_skip Equal to 0
        • Then - Actions
          • Trigger - Turn on lightning ball loop <gen>
        • Else - Actions
      • Set LB_index = (LB_index + 1)
      • Set LB_caster[LB_index] = (Triggering unit)
      • Set LB_on_off[LB_index] = True
      • Set LB_skip = (LB_skip + 1)
      • Set LB_point = (Target point of ability being cast)
      • Unit - Create 1 dummy Lighting ball for (Owner of (Triggering unit)) at LB_point facing Default building facing degrees
      • Set LB_unit[LB_index] = (Last created unit)
      • Set LB_size[LB_index] = 50.00
      • Custom script: call RemoveLocation (udg_LB_point)
  • lightning ball loop
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • For each (Integer LB_Loop) from 1 to LB_index, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • LB_on_off[LB_Loop] Equal to True
            • Then - Actions
              • Set LB_size[LB_Loop] = (LB_size[LB_Loop] + 3.00)
              • Animation - Change LB_unit[LB_Loop]'s size to (LB_size[LB_Loop]%, LB_size[LB_Loop]%, LB_size[LB_Loop]%) of its original size
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • LB_size[LB_Loop] Greater than or equal to 200.00
                • Then - Actions
                  • Set temp_point = (Position of LB_unit[LB_Loop])
                  • Special Effect - Create a special effect at temp_point using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
                  • Special Effect - Destroy (Last created special effect)
                  • Unit - Create 1 dummy for (Owner of LB_unit[LB_Loop]) at temp_point facing Default building facing degrees
                  • Unit - Add Lighting ball explsion to (Last created unit)
                  • Unit - Set level of Lighting ball explsion for (Last created unit) to (Level of Electric Ball for LB_caster[LB_Loop])
                  • Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
                  • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
                  • Custom script: call RemoveLocation (udg_temp_point)
                  • Unit - Kill LB_unit[LB_Loop]
                  • Set LB_on_off[LB_Loop] = False
                  • Set LB_skip = (LB_skip - 1)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • LB_skip Equal to 0
                    • Then - Actions
                      • Trigger - Turn off (This trigger)
                      • Set LB_index = 0
                    • Else - Actions
                • Else - Actions
            • Else - Actions
 
Status
Not open for further replies.
Top