Private Functions Function Category
These functions are found in scripts used within official BioWare modules. The scripts also contain a void main() which makes the script an invalid candidate for the #include compiler directive. They are provided here for the usefulness one may find by locating the script (located in the Scripts.bif archive file) and copying the function out into a local script.
Functions
Name | Brief Description |
---|---|
ApplyPenalty | Applies the penalty for respawn for the resurrecting PC. |
FakeRestore | Encapsulates removal of bad effects and healing of oTarget. |
FindTarget | Finds the next target for a guard to attack. |
GetValidWeapon | Does not exist. |
GreaterRestore | Invalid function; does nothing (use RemoveEffects(object) from nw_i0_plot instead). |
HasChapterQuestItem | Checks if player has the chapter quest item. |
JumpToWeakestEnemy | Makes the caller jump to the most damaged enemy. |
MakeWay | Builds the tag for the waypoint to walk to. |
NextTag | Gets the tag of the next waypoint to walk to. |
RunDrownImpact | Allows a water elemental to fill its victim’s lungs with water, drowning the victim. |
RunMelfAcidImpact | Handles the dealing of damage each round by the Melf’s Acid Arrow spell. |
SearchForPlayer | Makes a guard search for and attack the nearest PC. |
SetSummonEffect | Specifies the visual special effect and specific creature to be summoned based on the spell cast. |