GetLocalCassowary(object, string

From NWN Lexicon
Revision as of 00:45, 14 March 2021 by Jasperre (talk | contribs) (Created page with "{{DISPLAYTITLE:GetLocalCassowary(object, string}}__NOTOC__ Gets an objects stored cassowary. <nwscript> cassowary GetLocalCassowary( object oObject, string sVarName );...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Gets an objects stored cassowary.

cassowary GetLocalCassowary(
    object oObject,
    string sVarName
);

Parameters

oObject
The object to retrieve a cassowary from
sVarName
The variable name the cassowary is stored under


Description

Get oObject's local cassowary variable reference sVarName

Return value on error: empty solver

NB: cassowary types are references, same as objects.

Unlike scalars such as int and string, solver references share the same data.

Modifications made to one reference are reflected on others.


Remarks

Version

This function was added in 1.83.8193.21 of NWN:EE.


Example

See Also

functions:

GetLocalCassowary, SetLocalCassowary, DeleteLocalCassowary, CassowaryReset, CassowaryConstrain, CassowarySuggestValue, CassowaryGetValue, CassowaryDebug