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

Keep on the Borderlands - a 5e Conversion with Maps

Evil Stronghold

Maps for B4 The Lost City