GetDomain()
CommonerX
Member Posts: 9
The following code prints out "0" on a test run. Where oPC is the current PC object.
The test PC is a lvl 1 fighter from the server vault with no domains.
The second domain slot in the first class slot returns "1". Whereas all other combinations return "-1", as they should.
For my understanding "-1" should be the result in the first two cases, too.
What am I missing?
(All variables are properly declared elsewhere)
The test PC is a lvl 1 fighter from the server vault with no domains.
sAbs = IntToString(GetDomain(oPC, 1, GetClassByPosition(1, oPC))); SendMessageToPC(oPC, sAbs);
The second domain slot in the first class slot returns "1". Whereas all other combinations return "-1", as they should.
For my understanding "-1" should be the result in the first two cases, too.
What am I missing?
(All variables are properly declared elsewhere)
0
Comments
Maybe Fighters get Air and Animal domains by default in EE?
A possibility. I doubt it, though.
It has happened in the past that NWN functions don't work as expected. If I remember right, the SetCampaignLocation function doesn't consistently work, but saving the individual components of locations does.