Discuss Scratch

fexlo
Scratcher
28 posts

Dropdown List/ Variables within Variables

I think there should be a new type of “Master” variable that can refer to many other variables held within, such as the “current (minute, second, etc.)” block works. For example, you could use this to refer to a different user of a project each time the repeat around it increases:
set [a v] to [0]
repeat (length of [All Users v])
change [a v] by [1]
set [user (a) v] to [Player] // this is where the new block is used
end

Last edited by fexlo (Dec. 13, 2013 12:01:11)


-Fexlo, the Wholockian Nerdfighter of Night Vale, currently away on a hitchhiking trip across the galaxy with my dragon Sapphire. If you don't speak fandom, that means I'm a fan of Doctor Who, Sherlock, the Vlogbrothers (or Nerdfighters), Welcome to Night Vale, the Hitchhiker's Guide to the Galaxy, and Eragon.
AonymousGuy
Scratcher
1000+ posts

Dropdown List/ Variables within Variables

Isn't that what a list does? Or are you talking about enumerations? (Like the dropdowns in the variable blocks)
fexlo
Scratcher
28 posts

Dropdown List/ Variables within Variables

I'm talking about enumerations. Is there a way of creating them?

-Fexlo, the Wholockian Nerdfighter of Night Vale, currently away on a hitchhiking trip across the galaxy with my dragon Sapphire. If you don't speak fandom, that means I'm a fan of Doctor Who, Sherlock, the Vlogbrothers (or Nerdfighters), Welcome to Night Vale, the Hitchhiker's Guide to the Galaxy, and Eragon.
AonymousGuy
Scratcher
1000+ posts

Dropdown List/ Variables within Variables

No. I was actually working on a project to use custom blocks to do things similar to them, but I kind of abandoned the attempt.

Anyways, you can't create your own, and I actually suggested this before (with very few readers) but you can hack them in to custom blocks.

Powered by DjangoBB