Sherincall
Sherincall
Reactions
-
Re: NwN EE: Head Starter Toolset. Can't read Haks from hk folder
Running the toolset with -userDirectory argument lets you specify a custom location that isn't MyDocuments. The readme file should have a bit more info. If the directory specified doesn't exist, it'l… (View Post)2 -
Re: Need for SetUncappedAbilityBonus() and similar functions
That needs to be handled with a bit of care as it will mess with ELC and make those characters illegal in all localvault games. Modules using this would need something like a popup informing the play… (View Post)1 -
Re: NWScript function efficiencies
O(log(N)). A simple binary tree you traverse comparing the tags. Tags are compared directly, not hashed. The GetNearest and GetObjectInShape functions only operate on the objects in the current area,… (View Post)1 -
Re: NWScript function efficiencies
Also, something you didn't ask about but that's very common is mapping Object ID (i.e. the object nwn type) to the (pointer to) actual object. This is done through a hash table of sorts, and is O(N/4… (View Post)1 -
Re: Request: Multithreading support. Can't believe so few mentioned it yet.
TMIs are there for a reason. If your scripts are running for too long, they could be broken (e.g. an endless loop), so the game terminates them. Sometimes, you have a script that really does need to … (View Post)3