Skip to content

CromFr/NWN2-SpecialAttacks

Repository files navigation

Special attacks

Features

Youtube video

  • CastSpecialAttack(string sAtkScript, location lLoc, float fDelay, int nShape, float fRange, float fWidth = 0.0)
    • Allows to cast special attacks from script
    • sAtkScript is a custom script you can write (see specatk_godhammer)
    • See specatk_inc for more info
  • Special attack shapes:
    • None: sAtkScript won't be called for nearby creatures
    • Circle: Affects anybody in a circle of custom radius
    • Line: Affects anybody in a rectangle of custom size
    • Cone: Affects anybody in a cone shape of custom radius & angle
      • Note: cone angle can be > 180 deg
  • Automatically calls the script with the damage event on any creature in the shape.

Install

Just copy all files starting with specatk_ into your module repertory (or mod file using an ERF tool)

Feel free to move sef, bbx and tga files into a custom hak instead of the module itself.

Don't forget to build scripts 😉

Examples / use

About

Special attacks system for players or bosses

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages