From: MirceaKitsune Date: Sat, 2 Oct 2010 13:52:19 +0000 (+0300) Subject: entities.def for target_changelevel X-Git-Tag: xonotic-v0.1.0preview~99^2 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=commitdiff_plain;h=70bf1bfa372d474d9cd2afe6bcc54531fa7ef4ed entities.def for target_changelevel --- diff --git a/scripts/entities.def b/scripts/entities.def index 5ecb09e6..74608f0b 100644 --- a/scripts/entities.def +++ b/scripts/entities.def @@ -1902,3 +1902,12 @@ func_vectormamamam target: trigger all entities with this targetname when triggered targetname: name that identifies this entity so it can be triggered */ + +/*QUAKED target_changelevel (.5 .5 0) (-8 -8 -8) (8 8 8) +Loads another map when triggered. Useful for single player maps. +When no chmap key is set, the entity just ends the match when triggered. The player / team with the highest score at that moment wins. +-------- KEYS -------- +targetname: The name other entities can use to target this entity +chmap: Map file to switch to, leave empty to make this entity just end the match +gametype: Switch to this gametype. If empty, the same gametype stays +*/