BashDoorCheck(object)

From NWN Lexicon

Used in DetermineCombatRound() to keep a henchmen bashing doors.

int BashDoorCheck(
    object oIntruder = OBJECT_INVALID
);

Contents

[edit] Parameters

oIntruder
(Default: OBJECT_INVALID)

[edit] Description

This check is made in DetermineCombatRound() to keep henchmen bashing doors unless there are bad guys in the area.

[edit] Remarks

Unless you're rewriting DetermineCombatRound() for your own custom AI, you are unlikely to need this function.

[edit] Requirements

#include "nw_i0_generic"

[edit] Version

1.22

[edit] Example

// From the header to nw_i0_generic:
/*
    ********************************************
    WARNING THIS SCRIPT IS CHANGED AT YOUR PERIL
    ********************************************
 
    This is the master generic script and currently
    handles all combat and some plot behavior
    within NWN. If this script is tampered
    with there is a chance of introducing game
    breaking bugs.  But other than that enjoy.
*/
// If you're confident that using or modifying BashDoorCheck
// is the right thing to do, you don't need sample code.

[edit] See Also

functions:  DetermineCombatRound


 author: Iskander Merriman, editor: Tom Cassiotis
 

Personal tools
Categories