• 🏆 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!

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