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

My first spell (help)

Status
Not open for further replies.
Level 2
Joined
Dec 19, 2004
Messages
7
Yep, im pretty new to this all.

this is my spell as it is so far

(extremely rubbish, i had no idea what to do so i guessed :))

Spell
Events
Player - (Owner of Test Hero 0000 <gen>) types a chat message containing cast fire as An exact match


Conditions

Actions
Unit - Create 1 fire spell for Player 1 (Red) at (Center of Casting <gen>) facing Default building facing (270.0) degrees
Unit - Set timed life for unit (Last created unit) with buff ID Wind Walk and duration 1 seconds


the fire spell is a scale 0.01 wisp that does 400 damage long range

so if i type cast fire, it creates one of them at a region next to my hero and it fires and kills an enemy grunt. then 1 second later it dies. its invulnerable, so no chance of it dieying in an earthquake or something.

1) Can I make my spell a skill so that I can just click "Firezap" (or whatever) where the hero's skills are?
2) How can I make the wisp spawn at my hero, regardless of where he is, at the moment its spawning on a region i made next to the hero.
3) I think because i have scaled it so small, the projectile doesnt show, is that correct?

If anyone could answer these queries, I'l be happy :)
 
Level 4
Joined
Sep 21, 2004
Messages
110
1)To make it so thatyou just hit the button "firezap",
create a dummy ability by copy n pasting an ability like thunderclap, or warstomp (the hero cant have two of the same ability)). Then for the even of your trigger do this following:
Event-Generic unit
Scroll down to where it says "Unit begins casting an ability"
Condition-Ability Comparison
On the second part of the campirson (the one where it DOESNT say Ability Being Cast), scroll down until you see your ability. This makes sure that the ability being cast is your dummy spell.

2)For where you tell it to create the wisp, theres a command called Unit-position of Unit. For unit put triggering unit.
 
Status
Not open for further replies.
Top