IsLight

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

IsLight [ObjectID]

Returns true if the passed object id is classed as a light.

[ref.]IsLight

Returns true if calling object is classed as a light source.