ShaDoOoW wrote...
but now there IS a nwnx plugin that can add offhand attacks so...
It that so? This is great news. Time for me to get involved into new techs. Thanks very much for the information!
'>
----------------Edit on 1/28/2014----------------
So i've been doing some research these days and i found this nwnx plugin named nwnx_cool.dll, created by Terra_777 and modified by ShadoOow. I installed nwnx successfully and used the function SetOffHandAttackNumber() provided by nwnx_cool in my script. The essential line is
SetLocalInt(oWeapon, "offhdnatt", nAttack); And i run it in my module. Very dramatically, nothing happened. According to my test there IS a local string "offhdnatt" with the value i want, which is expected, but how can this value actually works in-game?
I do bind the OnModuleLoad event with the script "aps_onload", and the nwnx.ini is modified with my module's name. Maybe it's not as easy as just writing some lines in a script. I figured that the local string should begin with "NWNX!COOL!" but inc_cool.nss doesn't go that way. Why is this?
I have nwnx_obdc.dll and several other common used plugins. MySQL installed. Is there something else I need to do to get this function work properly? Any advice is welcome! Thanks!
Modifié par SunnyVercett, 28 janvier 2014 - 07:35 .