On one of my projects, the windspeed doesn't reset when it's supposed to. This happens offline, too. But I see nothing wrong with it. Here's the project.
In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.Offline
Shouldn't this be in help with scripts?
Offline
No, because even offline, it doesn't work. I didn't see anything wrong with the wind script (which is in the Stage).
In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.Offline
3sal2 wrote:
No, because even offline, it doesn't work. I didn't see anything wrong with the wind script (which is in the Stage).
Are you sure? It really could be a scripting error you haven't figured out yet.
Upload what you have now so others can take a look. I'll move it to 'Help With Scripts' for now - it can be moved back to the 'Bugs and Glitches' section if it really is a Scratch-related bug.
[edit] Ah, looks like the project is uploaded already. My bad ^^;
Last edited by cheddargirl (2012-09-29 15:48:33)

Offline
You've overcomplicated the script.
when gf clicked forever if <(level) = [3]> play sound [wind v] until done end endIF you REALLY need the windspeed variable:
when gf clicked forever if <(level) = [3]> set [windspeed v] to [0] play sound [wind v] until done end if <(level) = [4]> set [windspeed v] to [0]
Last edited by soupoftomato (2012-09-29 16:17:49)
Offline
Not working. You should move this back to Bugs and Glitches.
Edit: Oh, thanks soupoftomato.
Last edited by 3sal2 (2012-09-30 09:34:02)
In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.Offline
3sal2 wrote:
Close.
In the future, please use the Report button to ask for a topic to be closed. The mods are far more likely to see it
Offline