Starting conditionals package
From NWNWiki
The starting conditionals package is an OSRS feature in the coding phase that provides several generic conditional scripts that can be used in a conversation to determine whether or not a given line appears. That is, these are intended as generic "Text Appears When" scripts.
| Script name | Description |
|---|---|
osrs_sc_GetIsHuman
| Returns TRUE if the PC speaker is a human. |
osrs_sc_GetAppearsHuman
| Returns TRUE if the PC speaker appears to be a human. |
osrs_sc_GetIsHurt
| Returns TRUE if the PC speaker is not at full hit points. |
osrs_sc_GetIsDiseased
| Returns TRUE if the PC speaker has a disease. |
osrs_sc_GetHasVisMagEffect
| Returns TRUE if the PC speaker has a visible magical effect on his person. |
osrs_sc_GetIsVisible
| Returns TRUE if the PC speaker is not hidden from the view of the primary NPC speaker. (The PC may be hidden from view due to invisibility, successful hide checks, etc.) |
osrs_sc_GetIsNPCCreature
| Returns TRUE if the PC speaker is talking to a creature (rather than a placeable or door). |
