• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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

Status
Not open for further replies.
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()
 
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.
Back
Top