Skip to content

IsActorTorchLit

Whether an actor holds a lit torch (or a lantern).

IsActorTorchLit(id)
Parameter Type
id number the actor

boolean - true for a lit torch or lantern; false for an actor with none, for a dead one (a death puts it out) and for anything that is no person actor, an animal included

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

SetActorTorch · GetActorLight · the NPC actors group of the index