Advertisement
TKGP

Untitled

Dec 2nd, 2017
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. local snd = sound_object("monsters\\stinger\\idle_0")
  2. snd:play_at_pos(victim, victim:position(), delay/level.get_time_factor(), sound_object.s3d + sound_object.looped)
  3. snd.volume = 5 -- ??
  4. local function stop_fly_snd()
  5.     snd:stop()
  6.     snd = nil
  7.     return true
  8. end
  9. CreateTimeEvent("fly_sounds", "fly_sounds_"..id, 600, stop_fly_snd)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement