- Joined
- Jul 12, 2018
- Messages
- 560
Hi,
So according to these threads:
www.hiveworkshop.com
www.hiveworkshop.com
.. you can store an item type in integer form in Jass using the following:
My question is what does this look like in Lua?
I'm sure the answer is contained in one of the Lua tutorials but those turn into Greek two words into each sentence to me as a Gui user who converted for someone else to install a Lua system in his map.
So according to these threads:
[Solved] - Storing item type in hashtable question
I wanted to ask if storing item-type in a hashtable works the same way as storing unit-type: Set Item_Type = Bronze Dagger Custom script: set udg_TempInteger = udg_Item_Type Hashtable - Save 0.70 as 1 of TempInteger in My_Hashtable I'm doing this actions but when I try to load the value it...

[Solved] - Storing item type in hashtable question
I wanted to ask if storing item-type in a hashtable works the same way as storing unit-type: Set Item_Type = Bronze Dagger Custom script: set udg_TempInteger = udg_Item_Type Hashtable - Save 0.70 as 1 of TempInteger in My_Hashtable I'm doing this actions but when I try to load the value it...

Custom script: set udg_integer = udg_itemType
My question is what does this look like in Lua?
I'm sure the answer is contained in one of the Lua tutorials but those turn into Greek two words into each sentence to me as a Gui user who converted for someone else to install a Lua system in his map.