BashDoorCheck(object)

ヘンチマンが扉を殴り続けさせる為にDetermineCombatRoundの中で使われます。

int BashDoorCheck(
    object oIntruder = OBJECT_INVALID
);

Parameters

oIntruder

(デフォルト: OBJECT_INVALID)


Description

もしそのエリアに敵対者がいなければ、ヘンチマンがドアを殴り続けさせておくために、このチェックはDetermineCombatRound()の中でなされます。



Remarks

もし独自のカスタムAIのためにDetermineCombatRoundを書き直していなければ、恐らくこの関数を必要としません。


Requirements

#include "nw_i0_generic"

Version

1.22

Example

// 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.

See Also

functions: DetermineCombatRound
categories: Combat Functions | Core AI Functions


author: Iskander Merriman, editor: Tom Cassiotis, JP team: Rainie
Send comments on this topic.