Very clever, 420! Thank you so much.
EDIT: Just to clarify a bit, what your code is doing is declaring a brand new effect at the beginning then checking for that newly declared effect on the target. I know it sounds weird but then the people that invented computer programming were fucked in the head.
[snapback]33451[/snapback]
So I guess when I compare effects, NWN is comparing the pointer address to the effects and not the actual effects themselves?
Anyway, after a few days of learning how to script, I have a small 9 AC dueling module up (on most weeknights and weekends) based on the GS rules:
Module Name: "--Ryu's 9AC Legit Dueling Released!--"
Tab: "Action"
I'm surprised that a number of former GS duelers have logged on. I guess many people still miss the place.
Come visit when you guys have time!
So I guess when I compare effects, NWN is comparing the pointer address to the effects and not the actual effects themselves?
That's correct.
Anyway, after a few days of learning how to script, I have a small 9 AC dueling module up (on most weeknights and weekends) based on the GS rules:
Module Name: "--Ryu's 9AC Legit Dueling Released!--"
Tab: "Action"
I'm surprised that a number of former GS duelers have logged on. I guess many people still miss the place.
Come visit when you guys have time!
[snapback]33463[/snapback]
I'll check it out right now!
-420