Skip to content

IsActorTorchLit

Whether an actor holds a lit torch.

IsActorTorchLit(id)
Parameter Type
id number the actor

boolean - false for an actor with no lit torch, for a dead one (a death puts the torch out) and for anything that is no person actor, an animal included

if not IsActorTorchLit(id) then SetActorTorch(id, true) end

SetActorTorch · the NPC actors group of the index