SetClassAttribute

From The Elder Scrolls Construction Set Wiki

A function added by the Oblivion Script Extender.

Syntax:

(bAttributeSet:bool) reference.SetClassAttribute which:short attribute:string class:ref

Sets one of the two favored attributes for the class. Both class attributes must be unique. If the class argument is omitted the calling NPC's class is used.

Personal tools