SpecialTacticsAmbusher(object)

Special tactics for ambushers.

int SpecialTacticsAmbusher(
    object oTarget
);

Parameters

oTarget

The "enemy" object we wish to check against for special tactics.


Description

Special tactics for ambushers.

Ambushers will first attempt to get out of sight of their target if currently visible to that target.

If not visible to the target, they will use any invisibility/hide powers they have.

Once hidden, they will then attempt to attack the target using standard AI.

Returns TRUE on success, FALSE on failure.



Requirements

#include "x0_i0_combat"


Version

???

See Also

functions:  SpecialTactics | SpecialTacticsCowardly | SpecialTacticsDefensive | SpecialTacticsRanged
categories:  Combat Functions | Combat Actions Functions


author: Baragg, editor: Mistress