audio::playloopat()
Plays loop at. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
audio::playloopat(aliasname, origin)
Needs #using the script that defines it (scripts/shared/audio_shared.csc).
Parameters
| Name |
|---|
| aliasname |
| origin |
The decompiled scripts don't keep default values, so some of these may be optional: check the real uses below.
Real uses in BO3's scripts
Called 200 times in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_ai_margwa_elemental.csc, line 327
audio::playloopat("zmb_margwa_shadow_portal_lp", portal_pos); - scripts/zm/_zm_powerup_zombie_blood.csc, line 88
audio::playloopat("zmb_zombieblood_loop", (0, 0, 0)); - scripts/zm/zm_castle.csc, line 348
audio::playloopat("zmb_low_grav_room_loop", (-1188, 2255, 261)); - scripts/zm/zm_castle_ee_side.csc, line 74
audio::playloopat("zmb_pyramid_energy_ball_lp", (-1192, 2256, 320)); - scripts/zm/zm_castle_rocket_trap.csc, line 166
audio::playloopat("evt_rocket_trap_alarm", (4202, -2096, -1438));
More in audio::
- audio::stoploopat()Stops loop at.
- audio::scale_speed()audio helper: scale speed.
- audio::snd_set_snapshot()audio helper: sound set snapshot.
- audio::snd_play_auto_fx()audio helper: sound play auto FX.
- audio::unlockfrontendmusic()audio helper: unlock frontend music.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).