<aside> ⚡ script "map_bossoverride" (int client)

</aside>

Event


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.

Usage


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.

Parameters

Default Script


The default script does nothing.

script "map_bossoverride" (int client) { }

Example Replacement


The following script changes the sky black on server-side on music change.

script "map_bossoverride" (int client) {
    if(!client) {
				ReplaceTextures("F_SKY1", "BLACK");
		}
}

See Also