SetName (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Sets the name of this entity.

Usage

void setName( string name )

Parameters

  • [name] - The name to apply to this entity.

Examples

 
$my_entity.setName("foo");

Notes

This script event does not return any values.