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!
in GUI, when i try to make the action "Hashtable - Save Ability Handle" and i press the "ability" to put something there the editor crashes.
Is this a known issue? or is it just me? :O
i have the latest WE (the original one).
Using this function on GUI seemingly really leads to an editor crush.
Instead of using that "save ability" you could use a string or integer value in order to save the rawcode of the ability. If that ability is supposed to be cast later on you can also save its command string in the cache.
Ability rawcodes and vars of type "Ability" are simple Integer vars and therefore accepted as Integer in JASS. One example i did in GUI, using some custom scripts, udg_i being integer and udg_ability being "ability":
Code:
Rawcode
Event
Time - Elapsed game time is 5.00 seconds
Condition
Action
Custom script: set udg_i=udg_ability
Game - Display to (All players) the text: (String(i))
Custom script: set udg_ability=udg_i
Unit - Add ability to Sorceress 0001 <gen>
The command string of an ability can be found in the Object Editor and needs to be explicity stored.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.