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

Ordering to cast spells?

Status
Not open for further replies.
Level 5
Joined
Jun 18, 2004
Messages
136
i was trying to do the "create invis unit and order it to cast a spell". Something isnt working. I want it to cast a custom spell but all there is to cast are the preset spells in the list. How do i do a trigger that is "order unit to cast a spell from all of spells in object editor" ?
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
you have o use JASS, probably xD. these presets just reference orderstrings, like Human Mountain King - Storm Bolt really is just "stormbolt". you have to use the proper JASS func ( or WeU ) and imput the Orderstring of the ability you are trying to activvate. anyways, however, im pretty sure every orderstring possible are in the Issue Order funcs.
 
Level 2
Joined
Jun 5, 2006
Messages
11
Me i didnt did it in jass and it worked... if the base spell u used is in this preset... make the unit cast this preset. thats what i did but i dont know if summons are there...

have luck.
 
Status
Not open for further replies.
Top