System GetEntityByName

From CryWiki

Jump to: navigation, search

System.GetEntityByName(string)

Description

Gets an entity by name

Arguments

  1. Name of the entity

Returns

Table of the entity

Example

Lua (example)
local myEnt = System.GetEntityByName("enemy1");
dump(myEnt);


Personal tools