DYNAMIC

Tells wether an entity is dynamic, i.e. it can change its position or parameters at runtime, can trigger or execute events, and is affected by game_save / game_load. If this flag is not set, the entity is static, meaning that it doesn't change at runtime. Static entities consume less memory and CPU resources than dynamic entities.

Type:

flag (emask)

Remarks:

Example (lite-C):

action make_me_static()
{ // set up the entity ...
my.emask &= ~DYNAMIC; //lite-C }

See also:

ent_create ► latest version online