Difference between revisions of "Category:Events"
From NWN Lexicon
Line 11: | Line 11: | ||
## [repeat for all inventory items in slot order] | ## [repeat for all inventory items in slot order] | ||
# [[OnClientEnter]] | # [[OnClientEnter]] | ||
− | # [[ | + | # Area [[OnEnter]] |
===Objects=== | ===Objects=== |
Latest revision as of 15:08, 21 November 2020
Objects with Events
Objects with events are those objects that make up the bulk of NWN. By giving these objects events, the programmers of NWN allow script writers to interact and respond with PCs and other objects by assigning different scripts to each event.
Order of Events Note
There are several events that have a specific order that may be worth noting. For a Player entering a module it will do this:
- OnAcquireItem (clothing)
- OnPlayerEquipItem (clothing)
- [repeat for all inventory items in slot order]
- OnClientEnter
- Area OnEnter
Objects
Subcategories
This category has the following 10 subcategories, out of 10 total.
A
C
D
E
M
P
T
Pages in category "Events"
The following 46 pages are in this category, out of 46 total.
O
- OnAcquireItem
- OnActivateItem
- OnAreaTransitionClick
- OnBlocked
- OnClick
- OnClientEnter
- OnClientLeave
- OnClose
- OnCombatRoundEnd
- OnConversation
- OnCutsceneAbort
- OnDamaged
- OnDeath
- OnDisarm
- OnDisturbed
- OnEnter
- OnExhausted
- OnExit
- OnFailToOpen
- OnHeartbeat
- OnLock
- OnModuleLoad
- OnOpen
- OnOpenStore
- OnPerception
- OnPhysicalAttacked
- OnPlayerChat
- OnPlayerDeath
- OnPlayerDying
- OnPlayerEquipItem
- OnPlayerLevelUp
- OnPlayerRespawn
- OnPlayerRest
- OnPlayerTarget
- OnPlayerUnequipItem
- OnRested
- OnSpawn
- OnSpellCastAt
- OnStoreClosed
- OnTrapTriggered
- OnUnAcquireItem
- OnUnlock
- OnUsed
- OnUserDefined