- Joined
- Apr 30, 2007
- Messages
- 62
hello i wanted to know the custom script for this funktion:
the start i have:
call ReviveHeroLoc(OURHERO, GetRectCenter(gg_rct_REV), true)
rev = a variable with 10 arrays (for all 10 players) so i want to have it like this but i dont know the custom cript code for it:
call ReviveHeroLoc(OURHERO, GetRectCenter(gg_rct_REV(GetOwningPlayer(OURHERO)), true)
EDIT: tried this call ReviveHeroLoc(OURHERO, GetRectCenter(gg_rct_AREV), true)
local integer i=GetPlayerId(GetOwningPlayer(OURHERO))
Had error in the first code ...
THX
the start i have:
call ReviveHeroLoc(OURHERO, GetRectCenter(gg_rct_REV), true)
rev = a variable with 10 arrays (for all 10 players) so i want to have it like this but i dont know the custom cript code for it:
call ReviveHeroLoc(OURHERO, GetRectCenter(gg_rct_REV(GetOwningPlayer(OURHERO)), true)
EDIT: tried this call ReviveHeroLoc(OURHERO, GetRectCenter(gg_rct_AREV), true)
local integer i=GetPlayerId(GetOwningPlayer(OURHERO))
Had error in the first code ...
THX