Trigger Changelevel

trigger_changelevel is a map function in Sven Co-op that detects player collision with the brush entity and changes the current map to one that is defined. It can also be triggered like a point entity, if set. '' { "model" "*m" "classname" "trigger_changelevel" "map" "mapname" "keep_inventory" "0/1" "percent_of_players" "n" "spawnflags" "0" "sounds" "0" "changedelay" "0" } ''

Attributes

 * Next map- "map" " ": this selects what map is loaded when activated. The .bsp extension can be omitted.
 * Keep Inventory- "keep_inventory" "0/1" : Allows weapons, ammunition and armor to be saved into the next map. By default, this is disabled, "1" enables this feature.

Inventory functions

 * Inventory Need item(s)-"item_name_required" "": This sets the item_inventory item to be required to successfully trigger the level change. More than one item can be used, the individual item names can be listed separated by a space.

Flags
"spawnflags" "s"
 * Use only- s=2: the changelevel can only be triggered by another entity targeting it. Collision with the brush entity will not trigger the level change.
 * No CVAR Override- s=4: Disables override CVARs of destination map.