DoWhirlwindAttack

From NWN Lexicon
Revision as of 23:20, 25 August 2012 by Dood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search



DoWhirlwindAttack(int, int)

Perform a whirlwind attack.

void DoWhirlwindAttack(
    int bDisplayFeedback = TRUE,
    int bImproved = FALSE
);

Parameters

bDisplayFeedback

TRUE OR FALSE - display feedback or not (Default: TRUE)

bImproved

TRUE OR FALSE - use improved whirlwind instead (Default: FALSE)


Description

Does a single attack on every hostile creature within 10ft. of the attacker and determines damage accordingly. If the attacker has a ranged weapon equipped, this will have no effect.
** NOTE ** This is meant to be called inside the spell script for whirlwind attack, it is not meant to be used to queue up a new whirlwind attack. To do that you need to call ActionUseFeat(FEAT_WHIRLWIND_ATTACK, oEnemy).



Remarks

As mentioned in the description, you probably won't need to use this function ever.


Version

1.61

See Also

constants: 

FEAT_* Constants



 author: Lilac Soul