Discuss Scratch

djdolphin
Scratcher
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
Scratcher
1000+ posts

How to edit args in Scratch 1.4?

Bump

!
davidkt
Scratcher
1000+ posts

How to edit args in Scratch 1.4?

You mean drop-down lists?

Remember when I looked like this? I still do.


Float, my Scratch 2.0 mod | My (somewhat under-construction) blog
djdolphin
Scratcher
1000+ posts

How to edit args in Scratch 1.4?

davidkt wrote:

You mean drop-down lists?
Yeah. I want to make it so all drop-down lists can accept dropped reporters.

!
davidkt
Scratcher
1000+ posts

How to edit args in Scratch 1.4?

I don't know…

Remember when I looked like this? I still do.


Float, my Scratch 2.0 mod | My (somewhat under-construction) blog
dreamod
Scratcher
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
Scratcher
1000+ posts

How to edit args in Scratch 1.4?

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'].


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
djdolphin
Scratcher
1000+ posts

How to edit args in Scratch 1.4?

powerpoint56 wrote:

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'].
Yeah, I just figured that out.

Last edited by djdolphin (July 1, 2013 19:00:02)


!

Powered by DjangoBB