Lots of problems lately, haha...
anyway, I wanted the condition for text to appear to be PC being a Purple Dragon Knight. I used the original script wizard (well, it sucks really, but sometimes has its uses) to generate the script and tried it, but it didn't work.
So I checked it and it turns out the script has a compilation error because of Purple Dragon Knight condition. If I changed it to any other class, it would compile just fine. But not for PDK.
Here's the generated script:
Edit: Nevermind, the post just does not allow me to put the script nicely... the line that is the problem is as follows:
if(GetLevelByclass(class_TYPE_PDK, GetPCSpeaker()) >= 1)
Is it a general bug with the toolset, that it doesn't accept PDK as a class, or just another something messed up on my side?
Thanks for help.
Modifié par Grani, 08 juin 2012 - 11:32 .