[General] Any way to recover an ability from a Hashtable?

Status
Not open for further replies.
Abilities/Buff/Unit-Types/Item-Type are integers, convert them before saving into/loading from the hash
you need an custom script line for both converts.
Int is an integer variable.
Skill is an ability variable.
  • Actions
    • -------- Save --------
    • Set Skill = Avatar
    • Custom script: set udg_Int = udg_Skill
    • Hashtable - Save Int as 0 of (Key (Triggering unit)) in Hash
    • -------- Read --------
    • Set Int = (Load 0 of (Key (Triggering unit)) from Hash)
    • Custom script: set udg_Skill = udg_Int
 
Last edited:
Level 6
Joined
Feb 5, 2017
Messages
32
Abilities/Buff/Unit-Types/Item-Type are integers, convert them before saving into/loading from the hash
you need an custom script line for both converts.
Int is an integer variable.
Skill is an ability variable.
  • Actions
    • -------- Save --------
    • Set Skill = Avatar
    • Custom script: set udg_Int = udg_Skill
    • Hashtable - Save Int as 0 of (Key (Triggering unit)) in Hash
    • -------- Read --------
    • Set Int = (Load 0 of (Key (Triggering unit)) from Hash)
    • Custom script: set udg_Skill = udg_Int


Thank you so much, +rep :infl_thumbs_up:
 
Status
Not open for further replies.
Top