<aside> ⚡ script "map_bossoverride" (int client)
</aside>
This script is called by the map after the boss music, intense music, or victory music begins playing. It is first called on server-side, then again on client-side.
This script can replaced by adding a new script in your map of the name, map_bossoverride
, to add additional behavior to this event, or override the existing behavior.
This script has no expected return value.
client
: bool - Whether this script is being called as CLIENTSIDE
.The default script does nothing.
script "map_bossoverride" (int client) { }
The following script changes the sky black on server-side on music change.
script "map_bossoverride" (int client) {
if(!client) {
ReplaceTextures("F_SKY1", "BLACK");
}
}