This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-18 10:38:30

mactro
New Scratcher
Registered: 2013-01-02
Posts: 4

Block watcher and translation problems

Hi,

I made a block witch custom type parameter, selcted from a dropdown menu:

Code:

('voltage on pin %4'                r    getVoltage:'A0')

The block is a watcher - I can display it's value on stage. The only problem is that it displays "Voltage on pin %4", not "voltage on pin A0". It should work just like sensor blocks from Scratch (slider, resistance etc.) How to do that? I think it can have something to do with ScratchTranslator, but I'm not sure what exacly...


Another problem I have, is that when I switch to a different language, my custom block goes red and obsolete. How to fix that?

Thanks in advance.

Offline

 

Board footer