Name

The name of a specified object, set via Hammer

Note

It is case-insensitive

Syntax

Name:[object] -- Returns the name of a specified object


// If the name of our targeted object is "npc_jen"
IfAttr "Name:target == String:npc_jen Block begin"
    // Set jen's health to zero
    SetAttr "target.ea_health 0"
Block end