IgniteEntity Function

Ignites an entity on fire.

void IgniteEntity(int entity, float time, bool npc, float size, bool level)

Parameters

int entity

Entity index.

float time

Number of seconds to set on fire.

bool npc

True to only affect NPCs.

float size

Unknown.

bool level

Unknown.

Errors

Invalid entity or client not in game, or lack of mod support.