]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Improve trigger_impulse description
authorFreddy <schro.sb@gmail.com>
Mon, 12 Mar 2018 19:07:47 +0000 (20:07 +0100)
committerFreddy <schro.sb@gmail.com>
Mon, 12 Mar 2018 19:07:47 +0000 (20:07 +0100)
scripts/entities.ent

index 4b12d011c2a53cc9881087f68ab979ecc27121f2..3d1afe381e482fa8c671b3d0a2f8deb0d5dd627f 100644 (file)
@@ -1202,6 +1202,8 @@ Can be used in two ways:
 <target key="target" name="target">&quot;wind field&quot;: points to the target_position to which the player will get pushed.</target>
 <real key="strength" name="strength">&quot;wind field&quot;, &quot;gravity field&quot;: amount of force per second to apply. &quot;dampener/accelerator field&quot;: slowdown/speedup factor.</real>
 <real key="falloff" name="falloff">&quot;gravity field&quot;: 0 means no falloff, 1 means linear falloff (zero at the outside), 2 means inverted linear falloff (zero at the inside)</real>
+-------- SPAWNFLAGS --------
+<flag key="DIRECTIONAL_SPEEDTARGET" name="DIRECTIONAL_SPEEDTARGET" bit="6">treat strength as a target value for speed in the desired direction (directional mode only)</flag>
 </group>
 
 <group name="trigger_keylock" color=".0 .5 .8">