Error message?

Exide

I am amazingly focused right now!
Reaction score
448
Hi.

Could someone help me understand what this error message means:

00:01:56.69 Trigger Error in 'gt_MenuInventoryUseItemButtons_Func': Could not get 'triggerControl' from parameter in 'DialogControlSetPropertyAsText' (value: 183)

It's copied from the Debug Window.

What I would like to know is: what does 'triggerControl', and 'DialogControlSetPropertyAsText' mean?

I am guessing 'DialogControlSetPropertyAsText' is something along the lines of: "Create/Destroy/Set Dialog Item/Label".

Thanks in advance.
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
If I recall correctly, "triggerControl" refers to the dialog item you're using. "DialogControlSetPropertyAsText" should be the "Set Dialog Item Text" action. "(value: 183)" refers to that the triggerControl has the value 183 which is weird.

To fix this, I would double check the code again and make sure the variable you give as the "Dialog item" parameter to the "Set Dialog Item Text" action refers to an actual dialog item.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top