SetDeity

From NWN Lexicon



Contents

[edit] SetDeity(object, string)

Set the deity of a creature or PC

void SetDeity(
    object oCreature,
    string sDeity
);

[edit] Parameters

oCreature

Creature to assign a religion

sDeity

Deity for oCreature to believe in


[edit] Description

Set the name of oCreature's deity to sDeity.



[edit] Remarks

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


[edit] Version

1.31

[edit] See Also

functions: 

GetDeity



 author: Lilac Soul
 

Personal tools
Categories