Action on Object Function Category
Functions used to perform specific actions upon a certain object.
Functions
| Name | Brief Description |
|---|---|
| ActionAttack | Initiates an attack between two creatures or a creature and an object. |
| ActionCastSpellAtLocation | Cast a spell at a specific location. |
| ActionCastSpellAtObject | Cast a spell at an object. |
| ActionCloseDoor | An action that causes an object to close a door. |
| ActionCounterSpell | Causes the caller to enter the counterspell modal combat mode. |
| ActionDoCommand | Inserts a command into the Action Queue. |
| ActionEquipItem | Puts an item in possesion into an inventory slot. |
| ActionEquipMostDamagingMelee | Causes the calling creature to equip its most damaging weapon. |
| ActionEquipMostDamagingRanged | Causes the calling creature to equip the most damaging ranged weapon in its inventory. |
| ActionEquipMostEffectiveArmor | Causes the calling creature to equip the best armor in its inventory. |
| ActionForceFollowObject | Forces an NPC to follow an object. |
| ActionForceMoveToLocation | Attempts to move an NPC to a location. |
| ActionForceMoveToObject | Attempts to move an NPC to a certain distance of a target object even if a clear path doesn't exist. |
| ActionGiveItem | Gives a specified item to a target creature. |
| ActionInteractObject | Causes a creature or PC to use an object. |
| ActionJumpToLocation | Instantly sends the calling object to the position of locTarget. |
| ActionJumpToObject | Teleports the calling object to the nearest valid location by the target. |
| ActionLockObject | An action that will cause a creature to lock a door or other unlocked object. |
| ActionMoveToLocation | Moves an NPC to a location before executing further actions in the action queue. |
| ActionMoveToObject | Cause action subject to move to a certain distance of a target object. |
| ActionOpenDoor | An action that will cause a creature to open a door. |
| ActionPauseConversation | Pause the current conversation. |
| ActionPickUpItem | Causes subject to run to an item and place it in inventory. |
| ActionPlayAnimation | Plays an animation (fire and forget, looping, or placeable) before executing the next action in the queue. |
| ActionPutDownItem | Causes the subject to place an item on the ground at it's feet. |
| ActionRandomWalk | Causes the subject to walk to a random location close to itself. |
| ActionRest | Causes the creature to rest. |
| ActionResumeConversation | Resume a conversation after it has been paused. |
| ActionSit | Causes a creature to attempt to sit on something. |
| ActionSpeakString | Causes an object to speak. |
| ActionSpeakStringByStrRef | Causes the creature to speak a translated string. |
| ActionStartConversation | NPC action to start a conversation with a PC |
| ActionTakeItem | Takes an item from an object |
| ActionUnequipItem | Makes the executing creature unequip an object and place it in their inventory. |
| ActionUnlockObject | Causes a creature to unlock a door or other locked object. |
| ActionUseFeat | Causes an NPC to use a feat on oTarget. |
| ActionUseSkill | Causes a creature to attempt to use a skill on another object. |
| ActionUseTalentOnObject | Use tChosenTalent on oTarget. |
| ActionWait | Adds a wait action to an objects queue. |
| AnimActionChallengeIntruder | Challenges a PC from an NPC if they have not yet been challenged. |
| AssignCommand | Assigns an action command to a creature to act on. |
| BeginConversation | Attempts to start a conversation immediately. |
| ClearAllActions | Removes all actions from an action queue. |
| ClearAssociateActions | Clear the actions of one of each type of the PC's associates |
| ClearNearbyFriendActions | Clears the actions of a creature and all nearby friends |
| DayToNight | Changes the current Day/Night cycle for this player to night |
| DelayCommand | Delays an assigned action for a period of time. |
| DestroyObject | Destroy an object. |
| DoDoorAction | Does specific action to target door. |
| DoPlaceableObjectAction | Starts a placeable object special action. |
| EquipAppropriateWeapons | Cause a creature to ready an appropriate weapon. |
| EventActivateItem | Returns an event of type Activate Item. |
| EventConversation | Returns an event of type Conversation. |
| EventUserDefined | Returns an event of the type nUserDefinedEventNumber. |
| ForceRest | Fully restores a creature |
| GetCurrentAction | Returns the currently executing Action. |
| GetDamageDealtByType | Determines the amount of damage of a specific type dealt to an object. |
| GetEnteringObject | Gets the object that last opened or entered the calling object. |
| GetExitingObject | Get the object that last left the calling object. |
| GetIdentified | Determines whether an object has been identified. |
| GetIsPlaceableObjectActionPossible | Check whether a given action is valid for a given placeable object. |
| GetItemActivated | Retrieve the item which was activated to trigger the module's OnActivateItem event. |
| GetItemActivatedTarget | Determine the activated item's target. |
| GetItemActivatedTargetLocation | Determine the location of the activated item's target. |
| GetItemActivator | Retrieve the creature which activated an item. |
| GetLastClosedBy | Determine which creature closed a door or placeable. |
| GetLastDisarmed | Determine who last disarmed a trapped trigger, door or placeable object. |
| GetLockKeyRequired | Check whether an object requires a specific key to be unlocked. |
| GiveGoldToCreature | Creates the specified amount of gold on the creature. |
| GiveXPToCreature | Gives an amount of experience to the specified creature. |
| JumpToLocation | This is a command to move instantly to the location referenced by lLocation. |
| JumpToObject | Teleports the calling object to the nearest valid location by the target. |
| MakeDrunk | Gets a creature drunk. |
| MoveToNewLocation | Tells the object to move to a new location |
| NightToDay | Changes the current Day/Night cycle for this player to daylight |
| PlayConversationAnimation | Makes caller face a PC and play an animation. |
| RewardPartyGP | Give gold to PC or PC's entire party |
| SetActionMode | Sets the status of an action mode on a creature |
| SetCreatureAppearanceType | Change a creature's appearance |
| SetIsDestroyable | Sets whether an object is destroyable. |
| SetItemCharges | Sets the number of charges left on a given item. |
| SetItemStackSize | Set the number of items in a given stack. |
| SetLocked | Locks or unlocks a door or placeable. |
| ShoutDisturbed | Turns NPCs of the container's faction hostile towards the PC that destroyed or opened the container. |
| SoundObjectSetPosition | Sets the position of a sound object relative to the player(s). |
| SoundObjectSetVolume | This function will set the volume of a placed sound object, great for creating mood effects. |
| TalentFlee | Make the calling object flee from another object. |
See Also
Send comments on this topic.