Where could I find the prototype and usage of function?
I have downloaded this map, and it contains many function which are new to me. Im noob.
http://www.thehelper.net/threads/re...what-more-complete-writeup.48922/#post-422499
Example
How to find prototype of function ReviveHeroLoc, CreateNUnitsAtLoc, GetPlayerStartLocationLoc, GetOwningPlayer?
function Trig_KeepPlayerAlive_Actions takes nothing returns nothing
if ( Trig_KeepPlayerAlive_Func002C() ) then
call ReviveHeroLoc( GetDyingUnit(), GetPlayerStartLocationLoc( GetOwningPlayer( GetDyingUnit() ) ), false )
else
call CreateNUnitsAtLoc( 1, GetUnitTypeId( GetDyingUnit() ), GetOwningPlayer( GetDyingUnit() ), GetPlayerStartLocationLoc( GetOwningPlayer( GetDyingUnit() ) ), bj_UNIT_FACING )
endif
endfunction
I have downloaded this map, and it contains many function which are new to me. Im noob.
http://www.thehelper.net/threads/re...what-more-complete-writeup.48922/#post-422499
Example
How to find prototype of function ReviveHeroLoc, CreateNUnitsAtLoc, GetPlayerStartLocationLoc, GetOwningPlayer?
function Trig_KeepPlayerAlive_Actions takes nothing returns nothing
if ( Trig_KeepPlayerAlive_Func002C() ) then
call ReviveHeroLoc( GetDyingUnit(), GetPlayerStartLocationLoc( GetOwningPlayer( GetDyingUnit() ) ), false )
else
call CreateNUnitsAtLoc( 1, GetUnitTypeId( GetDyingUnit() ), GetOwningPlayer( GetDyingUnit() ), GetPlayerStartLocationLoc( GetOwningPlayer( GetDyingUnit() ) ), bj_UNIT_FACING )
endif
endfunction