Staredit Network > Forums > SC2 Assistance > Topic: [SOLVED] ChoosingMenu (Custom UI) not working
[SOLVED] ChoosingMenu (Custom UI) not working
This topic is locked. You can no longer write replies here.
Nov 10 2010, 5:26 am
By: payne  

Nov 10 2010, 5:26 am payne Post #1

:payne:

http://vgshorts.com/BBCode/BBCode3.php?ID=193
Here's the trigger named "Selection".
As you can see, I've tried 2 different methods for the "If" statements (since, according to the errors shown just under, the problem is right there): Enabled and Visible Dialog Item.

Here's what happens when I press the "Select_btn" Dialog Item (according to Trigger Debugging Window):
Quote
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 13)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 13)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 13)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 13)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)
00:02:55.56 Trigger Error in 'gt_Selection_Func': Could not get 'property' from parameter in 'DialogControlGetPropertyAsBool' (value: 12)

00:02:55.56 Running gt_Selection_Func (Event: TriggerDebug/EventPlayerDialogControl)

I'm wondering what's wrong.
If you require the map, just ask.

Post has been edited 1 time(s), last time on Nov 10 2010, 7:43 am by payne.



None.

Nov 10 2010, 7:23 am payne Post #2

:payne:

Oh wow... I've found the solution: even though a newly created and showed Dialog Item acts as if it is Visible and Enabled, its property hasn't been set as if it was and thus the Editor wasn't recognizing its state.
That's stupid. >_>



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:24 am]
anoeth47 -- Sie_Sayoka >>> Thanks!!! Got the png's to show up in Map Showcase
[2026-4-22. : 10:20 pm]
anoeth47 -- Sweet
[2026-4-22. : 7:48 pm]
NudeRaider -- https://staredit.net/381642/ really makes you appreciate (again) how good sc music is.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
Please log in to shout.


Members Online: NudeRaider