]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
document func_conveyor
authorRudolf Polzer <divverent@xonotic.org>
Thu, 29 Dec 2011 14:16:11 +0000 (15:16 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 29 Dec 2011 14:18:56 +0000 (15:18 +0100)
scripts/entities.def

index e7233e37980a8bf099608a29755709b22cb622bd..4980cc4ba6c7916624c7b7bcb393a3b25be1b710 100644 (file)
@@ -129,6 +129,16 @@ health: (default 0) if set to any non-zero value, the button must take damage (a
 NOSPLASH: if set, splash damage cannot activate the door, only direct damage can (requires health to be set)
 */
 
+/*QUAKED func_conveyor (0 .5 .8) ? START_ON
+A conveyor.
+-------- KEYS --------
+targetname: if set, it can be turned on/off
+angle: determines the opening direction
+speed: movement speed (200 default, must be above or equal sv_stopspeed)
+-------- SPAWNFLAGS --------
+START_ON: the conveyor is turned on if not triggered
+*/
+
 /*QUAKED func_door (0 .5 .8) ? START_OPEN - DOOR_DONT_LINK GOLD_KEY SILVER_KEY TOGGLE - - NOSPLASH
 Normal sliding door entity. By default, the door will activate when player walks close to it or when damage is inflicted to it.
 If DOOR_DONT_LINK is not set, the door will be linked with all doors it touches. Note however that for linked doors to work properly, it is necessary that ALL linked doors have SOME volume of common area (that is, there must be a point that is part of ALL doors).