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

[JASS] Can someone help me with a custom script?

Status
Not open for further replies.
Level 11
Joined
Jul 12, 2005
Messages
764
They are called the ability's raw codes, and usually begin with an 'A', and are capitalized, as they are integers (hexadecimal numbers).
But to anwser your question, no, there isn't such a function... Units can only be ordered to cast a spell with the ability's command string (like "thunderclap", "thunderbolt", "cripple", etc...)

call IssueImmediateOrder()
call IssueTargetOrder()
call IssuePointOrder()
 
Level 4
Joined
Sep 20, 2005
Messages
72
i think your confusing something. what paskovich said works. As long as the unit, say a dummy caster, has custom spell u want to cast, u can use the base order string of that custom ability be it "thunderclap" or w/e to cast that custom spell.

It doesnt matter that custom ability's order string says "thunderclap". the unit wont cast the ladder wc3 thunderclap as long as it doesnt have that basic wc3 ability. If you add a custom ability with the base ability of thunderclap to the unit and order it, it will fire the custom ability.
(which leads to the reason why u cant have two spells based off of the same ability on a single unit cuz it doesnt know which of the two u r casting)
 
Status
Not open for further replies.
Top