function GetValue takes nothing returns nothing
set udg_CC_DummyUnit = GetTriggerUnit()
set udg_CC_Key = GetHandleId(udg_CC_DummyUnit)
set udg_CC_Value = LoadReal(udg_CC_Hashtable, udg_CC_Key, 0)
endfunction
function GetCaster takes nothing returns nothing
set udg_CC_DummyUnit = GetTriggerUnit()
set udg_CC_Key = GetHandleId(udg_CC_DummyUnit)
set udg_CC_Caster = LoadUnitHandle(udg_CC_Hashtable, udg_CC_Key, 1)
endfunction
function GetTarget takes nothing returns nothing
set udg_CC_DummyUnit = GetTriggerUnit()
set udg_CC_Key = GetHandleId(udg_CC_DummyUnit)
set udg_CC_Target = LoadUnitHandle(udg_CC_Hashtable, udg_CC_Key, 2)
endfunction
function GetValue2 takes nothing returns nothing
set udg_CC_DummyUnit = GetTriggerUnit()
set udg_CC_Key = GetHandleId(udg_CC_DummyUnit)
set udg_CC_Value2 = LoadReal(udg_CC_Hashtable, udg_CC_Key, 3)
endfunction
function GetLocation takes nothing returns nothing
set udg_CC_DummyUnit = GetTriggerUnit()
set udg_CC_Key = GetHandleId(udg_CC_DummyUnit)
set udg_CC_Location = LoadLocationHandle(udg_CC_Hashtable, udg_CC_Key, 4)
endfunction
function GetAbilityID takes nothing returns nothing
set udg_CC_Key = GetSpellAbilityId()
set udg_CC_TriggerInteger = LoadInteger(udg_CC_Hashtable, udg_CC_Key, 5)
endfunction
function GetString takes nothing returns nothing
set udg_CC_DummyUnit = GetTriggerUnit()
set udg_CC_Key = GetHandleId(udg_CC_DummyUnit)
set udg_CC_String = LoadStr(udg_CC_Hashtable, udg_CC_Key, 6)
endfunction
Name | Type | is_array | initial_value |
CC_Ability | abilcode | No | |
CC_Caster | unit | No | |
CC_DummyType | unitcode | No | |
CC_DummyUnit | unit | No | |
CC_Group | group | No | |
CC_Hashtable | hashtable | No | |
CC_Key | integer | No | |
CC_Location | location | No | |
CC_MaxTriggerEvent | integer | No | |
CC_String | string | No | |
CC_Target | unit | No | |
CC_Trigger | trigger | Yes | |
CC_TriggerInteger | integer | No | 1 |
CC_Value | real | No | |
CC_Value2 | real | No | |
CC_WaitDuration | real | No | |
LoopingInteger | integer | No | |
TempLoc | location | No |