• 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.

Looking for someone who can teach me how to create a spell

Status
Not open for further replies.
Level 9
Joined
Oct 17, 2007
Messages
547
Do you know the basics of GUI? Try to create a simple spell if you can and post it here I'll help you make it MUI, its better if you try it yourself, faster learning by experience.
 
Level 4
Joined
Jan 20, 2007
Messages
65
There are plenty of tutorials around. Just pretend one of them is a response to your post. But for the sake of laziness.
  • Events
    • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (YourCustomAbility)
    • Actions
      • Do whatever.
 
Level 4
Joined
May 31, 2009
Messages
109
There are plenty of tutorials around. Just pretend one of them is a response to your post. But for the sake of laziness.
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to (YourCustomAbility)
  • Actions
    • Do whatever.
i have looked all of the tutorials around here but i dont know how to create a spell yet
 
Level 4
Joined
Jan 20, 2007
Messages
65
You said you knew basic GUI. Create a trigger with the event and condition I specified, then play with the actions using (casting unit) as your variable.
 
Level 5
Joined
Dec 18, 2007
Messages
205
triggering unit = casting unit in this case.
just try to make a spell you want and experiment with the actions. just give yourself a task and hang into it.
 
Level 4
Joined
May 31, 2009
Messages
109
i have created a simple nova spell
  • Volcanic Spawn
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Volcanic Spawn
    • Actions
      • Set TargetLoc = (Position of (Triggering unit))
      • For each (Integer A) from 1 to 10, do (Actions)
        • Loop - Actions
          • Set TempLoc[(Integer A)] = (TargetLoc offset by -150.00 towards ((Real((Integer A))) x 36.00) degrees)
          • Unit - Create 1 Lightning Spike Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
          • Unit - Set level of Volcanic Spawn (Dummy) for (Last created unit) to (Level of Volcanic Spawn for (Triggering unit))
          • Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm TempLoc[(Integer A)]
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Custom script: set bj_wantDestroyGroup = true
      • Custom script: call RemoveLocation(udg_TempLoc[GetForLoopIndexA()])
      • Custom script: call RemoveLocation (udg_TargetLoc)
maybe you guys can help me find the leaks there.
 
Level 12
Joined
Dec 10, 2008
Messages
850
Ok. remove set bj_wantDestroyGroup, its only used for unit group loops. Move call RemoveLocation(udg_TempLoc[GetForLoopIndexA()] into the very bottom of the loop.

When you create the dummy unit in the spell, instead of (position of (TriggeringUnit)) change it to TempLoc[blabla]. Other then that, I cant find anything else
 
Level 10
Joined
Apr 3, 2006
Messages
535
theres also a program called Leak Checker or something that is fairly good and 99% of the time helpful
 
Status
Not open for further replies.
Top