Category:Get Data from Object Functions
From NWN Lexicon
Jump to navigationJump to searchGet Data from Object Function Category
A function that returns data from an object.
Functions
Name | Brief Description |
---|---|
Creates an personal item on the provided NPC. | |
Used for determining if the current module is an end module. | |
Gets the creator of an Area of Effect object. | |
Determines the basic template for the item specified. | |
Gets the color assigned to the specified color channel. | |
Determines the number of hit points someone currently has. | |
Gets the description of an object. | |
Get the facing value from a location variable. | |
Determines the first itemproperty on an item | |
Determines the hardness of a door or placeable object. | |
Determines whether an area is above ground or not. | |
Returns whether an area is natural or not | |
Checks if a creature has triggered an OnEnter event | |
Returns TRUE if oItem has any item property that classifies it as magical item. | |
Determines whether an object is valid. | |
Check whether a placeable or door is currently open. | |
Check whether an object is trapped. | |
Check whether script owner's equipped weapon is able to damage a given object. | |
Get the armor class (AC) of an item. | |
Returns the appearance of an item | |
Retrieves the number of charges remaining on a given item. | |
Checks if an item is cursed | |
Check whether an item has a given property. | |
Retrieves the number of similar items in a stack. | |
Get the feedback message that will be displayed when trying to unlock the object. | |
Determine who last attacked a creature, door or placeable object. | |
Gets the last living, non plot creature that performed a hostile act against the object. | |
Get the last object that locked the caller. | |
Get the last creature that opened the caller. | |
Determines whether the last spell cast was harmful. | |
Determines who unlocked the object or placeable. | |
Get the last object that used the placeable object that is calling this function. | |
Get the value of a decimal number stored on an object. | |
Get the value of a whole number stored on an object. | |
Get the data describing a location stored on an object. | |
Get the data describing an object stored on an object. | |
Get the value of a string of characters stored on an object. | |
Check whether a given object is locked. | |
Check whether an object requires a specific key to be unlocked. | |
Gets the tag of the key that will open the lock on an object | |
Check whether or not an object is lockable. | |
Find a lock's lock DC. | |
Find a lock's unlock DC. | |
Returns TRUE if the item is a melee weapon. | |
Retrieves the name of an object. | |
Gets the nearest object, which matches given criteria, to the selected target. | |
Returns the nearest object to a target by searching for the objectâs tag value. | |
Returns the nearest object, which is of a specified type, to a given location. | |
Determines the next itemproperty on an item | |
Retrieves an object based on the tag given to it. | |
Determines what type the object is. | |
Determines how wounded a creature is as a percentage of their maximum HP. | |
Determines the last object that default clicked (left clicked) on the placeable object. | |
Determines whether an object is flagged as plot item. | |
Determines the portraits.2da row number of the portrait. | |
Determines the portrait resref of the object. | |
Determines the position of a creature or object. | |
Get a random nearby friend within the specified distance limit, that isn't busy doing something else. | |
Get a random nearby object within the specified distance with the specified tag. | |
Get a random nearby object within the specified distance with the specified type. | |
Returns a randomly selected object with the tag "NW_STOP" that is within the area of the calling object. | |
Returns the ResRef of an object. | |
Determines which creature sitting on a particular object. | |
Returns TRUE if the item is a slashing weapon. | |
Determine the tag associated with an object. | |
Determines the color of the first main light of a tile. | |
Gets the associated transitional target. | |
Determines if a placeable object is useable. | |
Checks whether a given item is a ranged weapon. | |
Gets the current weather conditions for a given area | |
Retrieves the weight of an individual item, or the weight of all objects carried by a single creature. | |
Returns TRUE if the object is hidden either magically or via stealth. | |
Returns whether an item has an itemproperty. | |
Returns whether a character has an item with a certain itemproperty type equipped. | |
Returns whether an item has any usage limitations. | |
Checks if an item is a bludgeoning weapon. | |
Returns whether an item has the intelligent itemproperty. | |
Checks if an item can be equipped. | |
Checks if an item is a melee weapon. | |
Checks if an item is a projectile. | |
Checks if an item is a ranged weapon. | |
Checks if an item has a specified onhit subtype itemproperty. | |
Checks if an item has a matching itemproperty. | |
Returns the next valid appearance type for an armor. | |
Returns the number of armor part variations for the specified part. | |
Returns the number of item properties present on an item. | |
Returns the armor's previous valid appearance type for the specified part. | |
Returns a weapon's enhancement bonus. | |
Returns true if the basetype of the item is one of the misc. types of basetype. | |
Checks to see if the baseitem type matches the one in the array AND if the item is "magical" | |
Checks if a PC has a certain uniform equipped. | |
Sets whether an object has been identified. | |
Locks or unlocks a door or placeable. | |
Given a string and an RGB color encoded string, this function returns an equivalent string that will display in the specified color. |
Pages in category "Get Data from Object Functions"
The following 97 pages are in this category, out of 97 total.
G
- GetAreaOfEffectCreator
- GetBaseItemType
- GetColor
- GetCurrentHitPoints
- GetDescription
- GetFacingFromLocation
- GetFirstArea
- GetFirstItemProperty
- GetHardness
- GetHiddenWhenEquipped
- GetIsAreaAboveGround
- GetIsAreaNatural
- GetIsInSubArea
- GetIsMagicalItem
- GetIsObjectValid
- GetIsOpen
- GetIsTrapped
- GetIsWeaponEffective
- GetItemACValue
- GetItemAppearance
- GetItemCharges
- GetItemCursedFlag
- GetItemHasItemProperty
- GetKeyRequiredFeedback
- GetLastAttacker
- GetLastHostileActor
- GetLastLocked
- GetLastOpenedBy
- GetLastSpellHarmful
- GetLastUnlocked
- GetLastUsedBy
- GetLocalFloat
- GetLocalInt
- GetLocalLocation
- GetLocalObject
- GetLocalString
- GetLocked
- GetLockKeyRequired
- GetLockKeyTag
- GetLockLockable
- GetLockLockDC
- GetMeleeWeapon
- GetName
- GetNearestObject
- GetNearestObjectByTag
- GetNearestObjectToLocation
- GetNextArea
- GetNextItemProperty
- GetObjectByTag
- GetObjectType
- GetObjectVisualTransform
- GetPercentageHPLoss
- GetPlaceableLastClickedBy
- GetPlotFlag
- GetPortraitId
- GetPortraitResRef
- GetPosition
- GetRandomFriend
- GetRandomObjectByTag
- GetRandomObjectByType
- GetRandomStop
- GetResRef
- GetSittingCreature
- GetSlashingWeapon
- GetTag
- GetTileMainLight1Color
- GetTransitionTarget
- GetUseableFlag
- GetWeaponRanged
- GetWeather
- GetWeight
I
- InvisibleTrue
- IPGetHasItemPropertyByConst
- IPGetHasItemPropertyOnCharacter
- IPGetHasUseLimitation
- IPGetIsBludgeoningWeapon
- Ipgetisbludgeoningweapon
- IPGetIsIntelligentWeapon
- IPGetIsItemEquipable
- IPGetIsMeleeWeapon
- IPGetIsProjectile
- IPGetIsRangedWeapon
- IPGetItemHasItemOnHitPropertySubType
- IPGetItemHasProperty
- IPGetNextArmorAppearanceType
- IPGetNumberOfAppearances
- IPGetNumberOfItemProperties
- IPGetPrevArmorAppearanceType
- IPGetWeaponEnhancementBonus
- IsMisc
- IsValidBaseItem