SetDeity

From NWN Lexicon
Jump to: navigation, search



SetDeity(object, string)

Set the deity of a creature or PC

void SetDeity(
    object oCreature,
    string sDeity
);

Parameters

oCreature

Creature to assign a religion

sDeity

Deity for oCreature to believe in


Description

Set the name of oCreature's deity to sDeity.



Remarks

Unknown at this time if objects other than creatures can be given deities with this function.


Version

1.31

See Also

functions: 

GetDeity



 author: Lilac Soul