]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
document trigger_hurt.targetname
authorRudolf Polzer <divverent@alientrap.org>
Sat, 29 Jan 2011 20:27:16 +0000 (21:27 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 29 Jan 2011 20:27:33 +0000 (21:27 +0100)
scripts/entities.def
scripts/entities.ent

index 12a6758921a503bd5be449eaf44ab15a96ba478c..930dd39adc870e3698db2566d7f404fd182edaa4 100644 (file)
@@ -1019,6 +1019,7 @@ dmg: amount of damage to deal (default: 1000)
 message: kill message when someone gets killed by this (default: "was in the wrong place")
 message2: kill message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end)
 team: team that gets hurt (5 = red, 14 = blue, etc) (when set, only this team can get hurt)
+targetname: if triggered using this target name, the activator will be the one who gets the frag awarded for hurting someone using this trigger (hint: The Frag Pipe)
 -------- SPAWNFLAGS --------
 INVERT_TEAM: the team that owns this will NOT jump when touching this
 */
index b3ebda1eddc6869908224c4d5f64ffd7103c4907..15ee49de1f83ae32925be55aaed5b478df03e262 100644 (file)
@@ -1021,6 +1021,7 @@ Has the useful effect of automatically returning flags, keys and runes when they
 <string key="message" name="message">kill message when someone gets killed by this (default: &quot;was in the wrong place&quot;)</string>
 <string key="message2" name="message2">kill message when someone gets pushed into this (default: &quot;was thrown into a world of hurt by&quot;). The # character is replaced by the attacker name if present (and it instead does not get appended to the end)</string>
 <integer key="team" name="team">team that gets hurt (5 = red, 14 = blue, etc) (when set, only this team can get hurt)</integer>
+<targetname key="targetname" name="targetname">if triggered using this target name, the activator will be the one who gets the frag awarded for hurting someone using this trigger (hint: The Frag Pipe)</targetname>
 -------- SPAWNFLAGS --------
 <flag key="INVERT_TEAM" name="INVERT_TEAM" bit="2">the team that owns this will NOT jump when touching this</flag>
 </group>