mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-07-02 13:37:53 -05:00
Reorganized the scripts so its easier to search thru.
This commit is contained in:
16
Multiplayer Maps/mp_express/maps/mp/mp_express_amb.gsc
Normal file
16
Multiplayer Maps/mp_express/maps/mp/mp_express_amb.gsc
Normal file
@ -0,0 +1,16 @@
|
||||
#include maps/mp/_ambientpackage;
|
||||
#include maps/mp/_utility;
|
||||
#include common_scripts/utility;
|
||||
|
||||
main()
|
||||
{
|
||||
array_thread( getentarray( "advertisement", "targetname" ), ::advertisements );
|
||||
}
|
||||
|
||||
advertisements()
|
||||
{
|
||||
self playloopsound( "amb_" + self.script_noteworthy + "_ad" );
|
||||
self waittill( "damage" );
|
||||
self stoploopsound();
|
||||
self playloopsound( "amb_" + self.script_noteworthy + "_damaged_ad" );
|
||||
}
|
Reference in New Issue
Block a user