game_end

Modified

12-Jul-2023

Entity, which, when triggered, ends the map. The next map in the mapcycle is then loaded. As soon as it is triggered, all entities will stop operating.

Keyvalues


OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.

Name targetname : Set name of game_end so other entities can trigger it to end the map. Every trigger use-type works uniformly. Can be kill-targeted.

Master master : Name of the multisource entity that (temporary) locks this game_end. If master is specified the game_end will be disabled and won't work. When multisource entity is triggered/being triggering by all possible inputs, the game_end will work again and can end the game when triggered. When multisource lost at least one input signal, the entities becomes locked again.