Module nwn.nwscript.functions

NWScript functions and types implemented in D

Functions

NameDescription
AddItemProperty(nDurationType, ipProperty, oItem, fDuration)
FloatToInt(fFloat)
FloatToString(fFloat, nWidth, nDecimals)
Get2DAString(s2DA, sColumn, nRow)
GetBaseItemType(oItem)
GetFirstItemProperty(oItem)
GetFirstName(objectGff)
GetIsItemPropertyValid(ip)
GetItemPropertyCostTable(iProp)
GetItemPropertyCostTableValue(ip)
GetItemPropertyDurationType(iprp)
GetItemPropertyParam1Value(ip)
GetItemPropertySubType(ip)
GetItemPropertyType(ip)
GetLastName(objectGff)
GetLocalFloat(oObject, sVarName)
GetLocalInt(oObject, sVarName)
GetLocalObject(oObject, sVarName)
GetLocalString(oObject, sVarName)
GetName(objectGff)
GetNextItemProperty(oItem)
IntToFloat(nInteger)
IntToString(nInteger)
RemoveItemProperty(oItem, ipProperty)
SetFirstName(objectGff, name)
SetLastName(objectGff, name)
StringToFloat(sNumber)
StringToInt(sNumber)

Manifest constants

NameTypeDescription
OBJECT_INVALID

Aliases

NameTypeDescription
DeleteLocalFloat DeleteLocal!NWFloat
DeleteLocalInt DeleteLocal!NWInt
DeleteLocalLocation DeleteLocal!NWLocation
DeleteLocalObject DeleteLocal!NWObject
DeleteLocalString DeleteLocal!NWString
SetLocalFloat SetLocal!NWFloat
SetLocalInt SetLocal!NWInt
SetLocalObject SetLocal!NWObject
SetLocalString SetLocal!NWString