Template:O BaseNPC: Difference between revisions
Jump to navigation
Jump to search
m (→top: Substituted IO templates) |
(puts todo category on many pages) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
{{O|OnForcedInteractionAborted|Fired when the NPC aborts a forced interaction for some reason (target NPC died, couldn't be pathed to, etc.).}} | {{O|OnForcedInteractionAborted|Fired when the NPC aborts a forced interaction for some reason (target NPC died, couldn't be pathed to, etc.).}} | ||
{{O|OnForcedInteractionStarted|Fired when the NPC starts a forced interaction.}} | {{O|OnForcedInteractionStarted|Fired when the NPC starts a forced interaction.}} | ||
{{O|OnForcedInteractionFinished|"NPCs in actbusies can no longer perform dynamic interactions." {{todo|What does this mean?}}}} | {{O|OnForcedInteractionFinished|"NPCs in actbusies can no longer perform dynamic interactions." {{todo|What does this mean?|nocat=1}}}} | ||
{{O|OnHalfHealth|Fired when this NPC reaches half of its maximum health.}} | {{O|OnHalfHealth|Fired when this NPC reaches half of its maximum health.}} | ||
{{O|OnHearCombat|Fired when this NPC hears combat sounds.}} | {{O|OnHearCombat|Fired when this NPC hears combat sounds.}} | ||
{{O|OnHearPlayer|Fired when this NPC hears the player.}} | {{O|OnHearPlayer|Fired when this NPC hears the player.}} | ||
{{O|OnHearWorld|Fired when this NPC hears a sound (other than combat or the player).}} | {{O|OnHearWorld|Fired when this NPC hears a sound (other than combat or the player).}} | ||
{{O|OnFoundEnemy|Fired when this NPC establishes line of sight to its enemy. | {{O|OnFoundEnemy|param=ehandle|Fired when this NPC establishes line of sight to its enemy.}} | ||
{{O|OnLostEnemy|Fired when this NPC loses its enemy. Usually due to the enemy being killed/removed, or because this NPC has selected a newer, more dangerous enemy.}} | {{O|OnLostEnemy|Fired when this NPC loses its enemy. Usually due to the enemy being killed/removed, or because this NPC has selected a newer, more dangerous enemy.}} | ||
{{O|OnLostEnemyLOS|Fired when this NPC loses line of sight to its enemy.}} | {{O|OnLostEnemyLOS|Fired when this NPC loses line of sight to its enemy.}} | ||
{{O|OnFoundPlayer|Fired when this NPC establishes line of sight to its enemy, and that enemy is a player. | {{O|OnFoundPlayer|param=ehandle|Fired when this NPC establishes line of sight to its enemy, and that enemy is a player.}} | ||
{{O|OnLostPlayer|Fired when this NPC loses its enemy, and that enemy was a player. Usually due to the enemy being killed/removed, or because this NPC has selected a newer, more dangerous enemy.}} | {{O|OnLostPlayer|Fired when this NPC loses its enemy, and that enemy was a player. Usually due to the enemy being killed/removed, or because this NPC has selected a newer, more dangerous enemy.}} | ||
{{O|OnLostPlayerLOS|Fired when this NPC loses line of sight to its enemy, and that enemy is a player.}} | {{O|OnLostPlayerLOS|Fired when this NPC loses line of sight to its enemy, and that enemy is a player.}} |
Latest revision as of 16:38, 23 May 2025
|