Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Coyote - Scratch 2.0 Mod
- blob8108
- Scratcher
1000+ posts
Coyote - Scratch 2.0 Mod
Search for this, maybe? Does anyone know where in the code it decides whether an argument will accept a reporter or not?https://github.com/nathan/visual/issues/1#issuecomment-37357948
- nXIII
- Scratcher
1000+ posts
Coyote - Scratch 2.0 Mod
There's a constant called menusThatAcceptReporters in ScriptsPane::dropCompatible. Does anyone know where in the code it decides whether an argument will accept a reporter or not? I'm trying to make it so all %m arguments will take reporters.
EDIT: severely ninja'd.
Last edited by nXIII (April 9, 2014 22:06:49)
- djdolphin
- Scratcher
1000+ posts
Coyote - Scratch 2.0 Mod
Thanks, I've updated the swf.There's a constant called menusThatAcceptReporters in ScriptsPane::dropCompatible. Does anyone know where in the code it decides whether an argument will accept a reporter or not? I'm trying to make it so all %m arguments will take reporters.
EDIT: severely ninja'd.
!
- 9kiwi9
- Scratcher
100+ posts
Coyote - Scratch 2.0 Mod
Could you make it when you double-click a reporter, it shows the value like in 1.4?
- djdolphin
- Scratcher
1000+ posts
Coyote - Scratch 2.0 Mod
That would be sort of difficult to implement. I'm lucky if I don't crash Scratch immediately when I make an edit. Could you make it when you double-click a reporter, it shows the value like in 1.4?
Sure, but would it report the total number of clones in the project or the number of clones of the current sprite? Maybe a(amount of clones::control)block?
!
- 9kiwi9
- Scratcher
100+ posts
Coyote - Scratch 2.0 Mod
In the sprite.That would be sort of difficult to implement. I'm lucky if I don't crash Scratch immediately when I make an edit. Could you make it when you double-click a reporter, it shows the value like in 1.4?Sure, but would it report the total number of clones in the project or the number of clones of the current sprite? Maybe a(amount of clones::control)block?
- Discussion Forums
- » Advanced Topics
- » Coyote - Scratch 2.0 Mod