PROJECTILE_PATH_TYPE_* Constant Group

From NWN Lexicon
Jump to navigationJump to search

Different types of project paths (the path a spell projectile follows as it travels).

These are a subset of what is available in spells.2da as projectile options, which are: accelerating, ballistic, bounce, burst, highballistic, homing, linked, spiral and test (you can see which matches up to the below options).

For instance you cannot specify the projectile path type is bounce using ActionCastFakeSpellAtLocation.

Constants

Constant Value Description
PROJECTILE_PATH_TYPE_ACCELERATING 4
Increases in speed as the projectile travels its path to its destination.
PROJECTILE_PATH_TYPE_BALLISTIC 2
Fires in a arc - like a catapult would - to the target.
PROJECTILE_PATH_TYPE_DEFAULT 0
Standard path - ie use spells.2da entry
PROJECTILE_PATH_TYPE_HIGH_BALLISTIC 3
As ballistic, but a much higher arc.
PROJECTILE_PATH_TYPE_HOMING 1
Follows a target.

See Also

functions: 

ActionCastSpellAtLocation ActionCastFakeSpellAtLocation ActionCastSpellAtObject ActionCastFakeSpellAtObject

TriggerProjectileTrap