TKGP Dec 2nd, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- local snd = sound_object("monsters\\stinger\\idle_0")
- snd:play_at_pos(victim, victim:position(), delay/level.get_time_factor(), sound_object.s3d + sound_object.looped)
- snd.volume = 5 -- ??
- local function stop_fly_snd()
- snd = nil
- return true
- CreateTimeEvent("fly_sounds", "fly_sounds_"..id, 600, stop_fly_snd)
RAW Paste Data