setEntityPersistence
Script::setEntityPersistence
Marks or unmarks the Entity as persistent.
Declaration
void setEntityPersistence(Entity entity, bool persistent);
Parameters
Name |
Type |
Description |
---|---|---|
entity |
The Entity to set the persistence flag on. |
|
persistent |
bool |
The status of the persistence flag. |
Returns
None.