• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Saving Ability Handles

Status
Not open for further replies.
Level 10
Joined
Sep 21, 2007
Messages
517
I was using Hashtables just now as i wanted to make an ability inventory system made in gui using the 1.24 Patch WE. I wanted to store an ability attached to a handle but once i clicked on the "ability" link, no options came up and world editor closed. Btw by the link (sorry about my diction) i mean the place where you click on something to fill it up, for example A unit uses "ability", that would be the link (technically like a link x_x>. Please help me out guys ;P i cant do this system without it.
 
Level 10
Joined
Sep 21, 2007
Messages
517
eh... i dont really use jass and i dont really mean to annoy you but can i have the functions, i know its the ability rawcode and stuff, but i just never use jass X_X Thanks for help bro. Appreciate it. +rep
Edit: Just dont send the functions, i dont want to be some troubling gui user seeking functions from experienced jass mapmakers and being a pain in the ass. Thanks for your suggestion bro ^^
 
Level 3
Joined
Dec 6, 2005
Messages
67
i also get the crash on trying to click the Ability link... so i did a convert of
  • Hashtable - Save Handle OfBlood Mage 0004 <gen> as 0 of 0 in (Last created hashtable)
  • Hashtable - Save 0.00 as 0 of 0 in (Last created hashtable)
to jass and got

JASS:
call SaveUnitHandleBJ( gg_unit_Hblm_0004, 0, 0, GetLastCreatedHashtableBJ() )
call SaveRealBJ( 0.00, 0, 0, GetLastCreatedHashtableBJ() )

so maybe try something like

  • Custom script: call SaveAbiltyHandlelBJ( rawcode, 0, 0, GetLastCreatedHashtableBJ() )
?
 
Last edited:
Level 10
Joined
Sep 21, 2007
Messages
517
yea man i dont really like to second guess jass and stuff like htat, il just wait for hte final fixed release of the hashtables and until then i wont finish this system xD, but thanks for trying to help, +rep ^^ btw are you interested in creating a warcraft 4 melee map type of game with me and a friend?
 
Status
Not open for further replies.
Top