This is confusing to explain but Ill do my best.
Dialog Box 1: The initial button/dialog box that will change its image based on the image clicked
Dialog Box 2: This is the dialog box that opens up when you click on box 1, it houses roughly 20 images with the hidden buttons.
I have a dialog box with a button on it (Dialog Box 1). Once you click that button, another dialog box opens that contains a set set of images (Dialog Box 2). Each image is clickable (with a hidden button behind it) and when clicked, it changes the image of Dialog Box 1 to that of the image that was clicked.
It works, however I am getting a Trigger error.
00:00:07.94 Trigger Error in 'gt_SetActiveSkillToLAB_Func': Could not get 'triggerControl' from parameter in 'DialogControlSetPropertyAsBool' (value: 0)
If the trigger works the way I want it to, why do I get this error?
The Team - TnTProductions
TnTProductions latest Project - Docking Bay 13
TnTProductions Epic RPG in the making - Psionics: Chaos Rising
Check out our website on wixx! http://bulletbutter.wix.com/tntproductions
I am getting this same error for a function that works for me as well.
My function creates a dialog, 7 images, a button and a label. It sets one value to false, but that's working.
No idea. Hope we can get someone to clarify. Back to google for me.
I don't know exactly what is causing this but i had this issue when i had a check condition to see if dialog item was visible that kept giving me this error. once i removed that condition all worked fine.
That error is telling you that the system cannot find a valid checkbox which you are trying to check/uncheck. You need to make sure that all your dialog items exist before calling on them.
There's a post in that thread about triggercontrol and an explanation of the meaning.
Hopefully this helps us figure it all out.
"'DialogControlSetPropertyAsBool'" is mine, the only Boolean value I have set is global and not a dialog piece.
EDIT: I've solved my problem.
Scratch that. I still get the same error. I have no idea what this bool might refer to.
EDIT2: DURRRRR.
Okay so the bool was the visible value of the button I was blinking with show/hide. When talking to an NPC with more than one page of text you remain busy and so the button on the last page is trying to blink. I should be able to fix this with a skip remaining actions or something.
I am getting this same error for a function that works for me as well. My function creates a dialog, 7 images, a button and a label. It sets one value to false, but that's working. No idea. Hope we can get someone to clarify. Back to google for me.
I don't know exactly what is causing this but i had this issue when i had a check condition to see if dialog item was visible that kept giving me this error. once i removed that condition all worked fine.
@bulletbutter: Go
That error is telling you that the system cannot find a valid checkbox which you are trying to check/uncheck. You need to make sure that all your dialog items exist before calling on them.
http://www.hiveworkshop.com/forums/starcraft-ii-editor-help-zone-647/strange-trigger-error-no-documentation-206649/
There's a post in that thread about triggercontrol and an explanation of the meaning.
Hopefully this helps us figure it all out.
"'DialogControlSetPropertyAsBool'" is mine, the only Boolean value I have set is global and not a dialog piece.
EDIT:
I've solved my problem.Scratch that. I still get the same error. I have no idea what this bool might refer to.
EDIT2: DURRRRR.
Okay so the bool was the visible value of the button I was blinking with show/hide. When talking to an NPC with more than one page of text you remain busy and so the button on the last page is trying to blink. I should be able to fix this with a skip remaining actions or something.