]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Merge branch 'DefaultUser/func_button_dont_accumulate_dmg' into 'master'
authorMario <zacjardine@y7mail.com>
Sat, 25 Nov 2017 02:25:05 +0000 (02:25 +0000)
committerMario <zacjardine@y7mail.com>
Sat, 25 Nov 2017 02:25:05 +0000 (02:25 +0000)
Update func_button flags for radiant

See merge request xonotic/xonotic-maps.pk3dir!105

scripts/entities.ent

index 0827c12e148b8d8d59db16c58498ae1f8a359a8a..b3b516835967177c0bc53619b9ab29ab7b986a57 100644 (file)
@@ -130,6 +130,7 @@ When a button is touched by a player, it moves in the direction set by the &quot
 <real key="health" name="health">(default 0) if set to any non-zero value, the button must take damage (any amount) to activate.</real>
 -------- SPAWNFLAGS --------
 <flag key="NOSPLASH" name="NOSPLASH" bit="8">if set, splash damage cannot activate the door, only direct damage can (requires health to be set)</flag>
+<flag key="DONTACCUMULATEDMG" name="DONTACCUMULATEDMG" bit="7">if set, all the damage needs to be done in one hit (requires health to be set)</flag>
 </group>
 
 <group name="func_conveyor" color="0 .5 .8">