]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/entities.def
Merge remote branch 'refs/remotes/origin/mirceakitsune/target_changelevel'
[xonotic/xonotic-maps.pk3dir.git] / scripts / entities.def
index 65cc12fa328edac7836ec7ad73af4b44b57b37ba..5674df10fbeff689671ef901c4c0ba62a9c6ec1c 100644 (file)
@@ -1905,3 +1905,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
+*/