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

Using Custom Spell

Status
Not open for further replies.
Level 10
Joined
Jul 31, 2008
Messages
477
Hello!

I'm making a spell. And I need to make so a dummyguy called DummyStunner is created and then it shall be issued to cast an ability called "DummyStun".

How do you do order the dummystunner to cast dummy stun?


This is how I want it to be;

  • Unit - Order DummyStunner to DummyStun (Picked Unit)
But I dont know how to get "DummyStun" into the trigger :S
 
Level 10
Joined
Jul 31, 2008
Messages
477
Problem Solved! But I have another question, I tried to search for "Custom Script" but didnt find anything . . .

How do I use a custom script to remove a point from my point variable, I tried this. call destroy(udg_Point[1]) (the "1" was the same for 9 more. I also tried to just say "Point" without the "[1]". It didnt work. How do you do it?
 
Status
Not open for further replies.
Top