audio::stoploopat()
Stops loop at. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
audio::stoploopat(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 88 times in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_ai_margwa_elemental.csc, line 343
audio::stoploopat("zmb_margwa_shadow_portal_lp", portal_pos); - scripts/zm/_zm_powerup_zombie_blood.csc, line 96
audio::stoploopat("zmb_zombieblood_loop", (0, 0, 0)); - scripts/zm/zm_castle.csc, line 354
audio::stoploopat("zmb_low_grav_machine_loop", (-1188, 2255, 261)); - scripts/zm/zm_castle_ee_side.csc, line 79
audio::stoploopat("zmb_pyramid_energy_ball_lp", (-1192, 2256, 320)); - scripts/zm/zm_castle_rocket_trap.csc, line 171
audio::stoploopat("evt_rocket_trap_alarm", (4202, -2096, -1438));
More in audio::
- audio::playloopat()Plays 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).