Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » How to edit args in Scratch 1.4?
- djdolphin
-
1000+ posts
How to edit args in Scratch 1.4?
In Scratch 1.4, how could I make it so all arguments can accept dropped reporters?
Last edited by djdolphin (June 23, 2013 12:28:17)
- djdolphin
-
1000+ posts
How to edit args in Scratch 1.4?
Yeah. I want to make it so all drop-down lists can accept dropped reporters. You mean drop-down lists?
- dreamod
-
100+ posts
How to edit args in Scratch 1.4?
I can help. I don't remember exactly,, but I'll check my mod, it has that feature.
- powerpoint56
-
1000+ posts
How to edit args in Scratch 1.4?
Let's you have your new dropdown opened in CommandBlockMorph > uncoloredArgMorphFor:
If it's like this, it won't accept reporters. But if you change ChoiceArgMorph to ChoiceOrExpressionArgMorph, it will accept them.
$D = t2 ifTrue: [^ ChoiceArgMorph new getOptionsSelector: #dropdownNames;
choice: 'dropdown'].
If it's like this, it won't accept reporters. But if you change ChoiceArgMorph to ChoiceOrExpressionArgMorph, it will accept them.
$D = t2 ifTrue: [^ ChoiceOrExpressionArgMorph new getOptionsSelector: #dropdown;
choice: 'dropdown'].
- djdolphin
-
1000+ posts
How to edit args in Scratch 1.4?
Yeah, I just figured that out. Let's you have your new dropdown opened in CommandBlockMorph > uncoloredArgMorphFor:$D = t2 ifTrue: [^ ChoiceArgMorph new getOptionsSelector: #dropdownNames;
choice: 'dropdown'].
If it's like this, it won't accept reporters. But if you change ChoiceArgMorph to ChoiceOrExpressionArgMorph, it will accept them.$D = t2 ifTrue: [^ ChoiceOrExpressionArgMorph new getOptionsSelector: #dropdown;
choice: 'dropdown'].
Last edited by djdolphin (July 1, 2013 19:00:02)
- Discussion Forums
- » Advanced Topics
-
» How to edit args in Scratch 1.4?