-- LUA Script - precede every function and global member with lowercase name of script + '_main'
-- Player Collects Health
function health2_init(e)
end
function health2_main(e)
PlayerDist = GetPlayerDistance(e)
if PlayerDist < 80 and g_PlayerHealth > 0 then
PromptDuration("Bonus life",3000)
PlaySound(e,0)
--AddPlayerHealth(e)
SetPlayerLives(e,g_PlayerLives+1)
Destroy(e)
ActivateIfUsed(e)
end
end
life\'s one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11