| 03-23-2006, 11:44 PM | #1 |
function TimedSFXP takes location p, real time, string sfx returns nothing local effect eff2 local location p call DisplayTextToForce( GetPlayersAll(), "BOO" ) call AddSpecialEffectLocBJ( p, sfx ) set udg_Temp_SFX[2] = GetLastCreatedEffectBJ() set eff2 = udg_Temp_SFX[2] call PolledWait( time ) call DestroyEffect(eff2) set eff2 = null endfunction edit nvm fixed |
