- Joined
- Mar 27, 2019
- Messages
- 56
Hi there,
I'm trying to convert this native to a LUA Function but I'm failing miserably.
Jass Function converted to LUA Function
Function Call
I'm trying to convert this native to a LUA Function but I'm failing miserably.
Jass Function converted to LUA Function
JASS:
//Jass
native GetUnitGoldCost takes integer unitid returns integer
//-->LUA<--
function GetUnitGoldCost(unitid) end
-
Custom script: udg_Player_GoldCost = GetUnitGoldCost(udg_Temp_Type))