Complicated Script

I wrote my most complicated NWN2 script so far, complicated for me anyway. I usually try to keep things as simple as possible. I used the getPosition function to grab the vectors of objects and compare their relative positions. I knew there y and z would be constant and only had to deal with the x. Depending upon where the player is in relation to an object the object will move in north or south (by being destroyed and created). It's a lot of work for relatively minor and insignificant bit, but it was interesting to try and write.

I also made a willow-the-wisp using the 'invisible man' model and the will-o-wisp effect. It looks pretty good.

Comments

Popular posts from this blog

Evil Stronghold

Hang it up?

5e Conversion Guide of S4 The Lost Caverns of Tsojcanth