setEntityPersistence

Script::setEntityPersistence

Marks or unmarks the Entity as persistent.

Declaration

void setEntityPersistence(Entity entity, bool persistent);

Parameters

Name

Type

Description

entity

Entity

The Entity to set the persistence flag on.

persistent

bool

The status of the persistence flag.

Returns

None.