Gsilent's NPC Roam AI
This script is largely based of Mixcoatl's GetNewRandomLocation() Function, So thank's to him for my script being reliant on his work.
My Script was used in the After Aielund Module I made.
Generally, NPC's in NWN will roam, but in a very restricted way. My script takes advantage of the GetNewRandomLocation Function, to generate new locations on every heartbeat to which the NPC walks to.
My script is more advanced than ActionRandomWalk in that:
This could be used for a whole variety of applications.
How to Use
Import the ERF into your module.
Place the script onto the OnHeartbeat event of the creature you wish to assign the Random Roam to.
Attachment | Size |
---|---|
random_roam_.zip (48) | 1.37 KB |
EE2 - Excrucio Eternum (Full Version) |
98.8% |
Madness and Magic |
92.7% |
Gladiatrix |
88.5% |
Snow Hunt |
91.2% |
Lords of Darkness 1 - The Fugitive (V3.0) |
84.7% |
Shadewood |
96.7% |
Resurrection Gone Wrong |
91.1% |
The Accursed Tower |
87.1% |
The Aielund Saga Act IV - The Fall of Aielund (Part Three) |
94.8% |
Cormyrean Nights |
86.7% |
I1 - Dwellers of the Forbidden City |
87.5% |
The Aielund Saga Act II - Defender of the Crown |
94.6% |
Black Thorn |
86.7% |
HeavensGate 2: Islands of the Undead Legion |
92.5% |
The HeX Coda 01 (Canceled Premium Module) |
92.7% |
Well met.
Again, your talented efforts are taking Neverwinter to ever new heights.
Blessings.
—
Phyte: My heart has been locked for longer than I can remember.
Sharwyn: Done, and done.
—
Thank you as ever for your support! :)
Very cool!
Thank you for your support! :)