]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/entities.ent
extend trigger_changelevel definitions
[xonotic/xonotic-maps.pk3dir.git] / scripts / entities.ent
index 73ddc17aad154b69d7b6de9846d48adb6a7a932a..1e63275a2e9f4e472bf0cc4f41f40a090b36effa 100644 (file)
@@ -2416,7 +2416,11 @@ When no chmap key is set, the entity just ends the match when triggered. The pla
 <targetname key="targetname" name="targetname">The name other entities can use to target this entity</targetname>
 <string key="chmap" name="chmap">Map file to switch to, leave empty to make this entity just end the match</string>
 <string key="gametype" name="gametype">Switch to this gametype. If empty, the same gametype stays</string>
+<real key="count" name="count">fraction of players (excludes bots) that need to trigger this entity to change the level when MULTIPLAYER is set (default: 0.7)</real>
+-------- SPAWNFLAGS --------
+<flag key="MULTIPLAYER" name="MULTIPLAYER" bit="1">makes this entity only change level when a fraction of the players triggered it</flag>
 </point>
+
 <point name="turret_machinegun" color="1 0 0" box="-32 -32 0 32 32 50">
 Fast firing moderate damage bullet (hitscan) turret.
 -------- KEYS --------