Quantcast
Channel: SHS RSS
Viewing all articles
Browse latest Browse all 7552

AI scripting problem

$
0
0

Hello, I'm very new to scripting in IE engine and I'm currently playing with the IWD in BG2 modification (no enhanced edition for me!)

I'm used to playing BGT with SCS install and I want to increase the AI difficulty in the IWD in BG2 mod (just for personal entertainment, nothing else)

My current problem is with a mage script, the monster seems to rest whenever I go out of his sight (so he starts his sequence from the beginning, doing the buff things again and regaining all his spells whenever he's out of sight), but I can't find where the problem is!

 

The script:

 

Spoiler

 

For now many varables are not put to any use as I want to start simple and go with increasing difficulty (better targeting, etc...)

I've taken some inspiration from stratagems scripting (for now it's very basic but I'm satisfied with the call for help :) ) for the "rest" part but it does not seems to work properly. If anyone is willing to help, I'll greatly appreciate it!


Viewing all articles
Browse latest Browse all 7552

Trending Articles