Sets a targetname on the triggering player (player must be an !activator in this trigger chain). You might as well use a trigger_changevalue.


OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.

Name targetname : Set name of trigger_renameplayer so other entities can trigger it to rename player. Every trigger use-type works uniformly. Can be kill-targeted.

New Player Targetname netname : New targetname to set onto the player.


  • 1 : Reusable : Set this if you want the trigger_renameplayer to be usable more than once- it will be removed from the game otherwise.