From: Rudolf Polzer Date: Sat, 29 Jan 2011 20:27:16 +0000 (+0100) Subject: document trigger_hurt.targetname X-Git-Tag: xonotic-v0.5.0~115 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=30c1f5c2487c5855183ee5ac076da0627336105f;p=xonotic%2Fxonotic-maps.pk3dir.git document trigger_hurt.targetname --- diff --git a/scripts/entities.def b/scripts/entities.def index 12a67589..930dd39a 100644 --- a/scripts/entities.def +++ b/scripts/entities.def @@ -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 */ diff --git a/scripts/entities.ent b/scripts/entities.ent index b3ebda1e..15ee49de 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -1021,6 +1021,7 @@ Has the useful effect of automatically returning flags, keys and runes when they kill message when someone gets killed by this (default: "was in the wrong place") 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 that gets hurt (5 = red, 14 = blue, etc) (when set, only this team can get hurt) +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 -------- the team that owns this will NOT jump when touching this