Get Data Function Category

A function that returns a value.



Functions

NameBrief Description
CheckPartyForItemCheck party for possession of an item.
Get2DAStringRetrieves a string value from a *.2da file on a server.
GetAreaReturns the area oTarget is currently in.
GetAreaFromLocationReturns the area that a particular location is in.
GetCalendarDayRetrieves the current in-game calendar day.
GetCalendarMonthDetermines the current in-game calendar month.
GetCalendarYearDetermine the current in-game calendar year.
GetClickingObjectUsed in the OnClick event to return the clicking object.
GetCurrentActionReturns the currently executing Action.
GetIsAreaAboveGroundDetermines whether an area is above ground or not.
GetIsAreaNaturalReturns whether an area is natural or not
GetIsDMPossessedReturns whether the creature is possessed by a DM
GetIsItemPropertyValidChecks if an itemproperty is valid.
GetItemPropertyCostTableReturns the cost table number of the itemproperty.
GetItemPropertyCostTableValueReturns the cost table value of an itemproperty.
GetItemPropertyDurationTypeGets the duration type of an itemproperty.
GetItemPropertyParam1Returns the Param1 number of the item property.
GetItemPropertyParam1ValueReturns the Param1 value of the item property.
GetItemPropertySubTypeGets the subtype of an itemproperty.
GetItemPropertyTypeReturns the type of itemproperty a property is.
GetLastRestEventTypeDetermines the status of the last PC rest.
GetLastSpellDetermines the spell that was last cast.
GetLastSpellCasterDetermines who last cast a spell.
GetLastTrapDetectedDetermines the trap last detected by the PC.
GetLocalFloatGet the value of a decimal number stored on an object.
GetLocalIntGet the value of a whole number stored on an object.
GetLocalLocationGet the data describing a location stored on an object.
GetLocalObjectGet the data describing an object stored on an object.
GetLocalStringGet the value of a string of characters stored on an object.
GetLocationGets the location of an object.
GetLockedCheck whether a given object is locked.
GetLockedObjectFinds the closest locked object up to a maximum of 10 objects away.
GetLockKeyRequiredCheck whether an object requires a specific key to be unlocked.
GetLockKeyTagGets the tag of the key that will open the lock on an object
GetLockLockableCheck whether or not an object is lockable.
GetLockLockDCFind a lock's lock DC.
GetLockUnlockDCFind a lock's unlock DC.
GetNearestCreatureToLocationGets the nearest creature, which matches supplied criteria, to a given location.
GetNearestPCDetermines the nearest PC to a creature.
GetNearestSeenOrHeardEnemyDetermines closest visual creature and determines the closest heard creature.
GetNumberOfMeleeAttackersDetermines the number of enemies within a 5 meter radius of the target object.
GetNumberOfRangedAttackersDetermines the number of enemies outside a 5 meter radius of the target object.
GetPhenoTypeReturns the creature's currently set PhenoType (body type).
GetSkinFloatRetrieves a persistent floating point variable from a creature's skin item.
GetSkinIntRetrieves a persistent integer variable from a creature's skin item.
GetSkinStringRetrieves a persistent string variable from a creature's skin item.
GetWaypointByTagGet the first waypoint with a specified tag.
GetWeatherGets the current weather conditions for a given area
GlobalReturns an object stored locally on the calling object that holds quest related state information.
IPGetIPWorkContainerReturns the container used for item property and appearance modifications in the module
LineOfSightObjectIs there a line of sight between two objects
LineOfSightVectorReturns whether there's a direct line between two positions

See Also

Function Categories



author: NWN Lexicon Group, editor: Mistress, contributor: Axe Murderer