findEntityByName

Script::findEntityByName

Returns the Entity associated with the name.

Declaration

Entity findEntityByName(const std::string& name);

Parameters

Name

Type

Description

name

const std::string&

The name of the Entity.

Returns

The Entity if the name is associated with an Entity, else, returns NTSHENGN_ENTITY_UNKNOWN.