System GetEntityClass

From CryWiki

Jump to: navigation, search

System.GetEntityClass(userdata)

Description

Gets the class of an entity

Arguments

  1. The id of the entity

Returns

The class of the entity (string)

Example

Lua (example)
Log("The class of the first entity in this level is "..System.GetEntityClass(1));


Personal tools