Help with calling a function - IDEA Silver award
Watch this thread
Matteopo16
Badges:
4
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#1
Hello. I'm trying to complete the IDEA Silver award and I'm stuck on the Maker Activation part 2 section. I can't wrap my head around how to "call a function". This is the code I have:
initiate();
function lifeSupportCheck() {
}
The website tells me to "call the lifeSupportCheck() function". Can anyone help me?
initiate();
function lifeSupportCheck() {
}
The website tells me to "call the lifeSupportCheck() function". Can anyone help me?
4
reply
SammieWilliams
Badges:
5
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#2
Report
#2
I just did this badge and am now stuck on the next bit!
You simply add underneath:
initiate(lifeSupportCheck);
You simply add underneath:
initiate(lifeSupportCheck);
Last edited by SammieWilliams; 3 years ago
2
reply
Matteopo16
Badges:
4
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#3
Ughh thanks this is so hard.. I managed to complete the silver award by finishing everything else though. Give it a try; in the end I didnt even have to complete maker part 2: I still got to 400 points
2
reply
SammieWilliams
Badges:
5
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#4
Report
#4
Luckyyyy. I would happily complete everything else, but for some reason there's 4 buttons that aren't working at the end of the 3rd Worker badge...
When you get to the bit where you have to filter your emails down and then complete the last jobs in your inbox, the filter buttons won't work, I can't click on them, they do nothing. Else I'd have fifty points and no headache! I've emailed them about it.
Did it on Chrome, not sure if it's the site or me that's stopping it from working.
When you get to the bit where you have to filter your emails down and then complete the last jobs in your inbox, the filter buttons won't work, I can't click on them, they do nothing. Else I'd have fifty points and no headache! I've emailed them about it.
Did it on Chrome, not sure if it's the site or me that's stopping it from working.
0
reply
Matteopo16
Badges:
4
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#5
I did it on Safari from my Macbook... it worked. If you think its chrome and you’re using a windows pc then you probably have microsoft edge with windows 10. Try it on that.
0
reply
HorusOG
Badges:
5
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#6
Umar.2004
Badges:
2
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#7
Isoji
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#8
Report
#8
var rooms = [bridge,lab,canteen,cabin,storage]
initiate();
function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
}
}
lifeSupportCheck()
Can someone please help me with this
initiate();
function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
}
}
lifeSupportCheck()
Can someone please help me with this
Last edited by Isoji; 3 years ago
0
reply
Isoji
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#9
Report
#9
var rooms = [bridge,lab,canteen,cabin,storage]
initiate();
function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
}
}
lifeSupportCheck()
Hey I was wondering if you happened to understand how to do this, if yes can you pls explain how to do it. Thank you
initiate();
function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
}
}
lifeSupportCheck()
Hey I was wondering if you happened to understand how to do this, if yes can you pls explain how to do it. Thank you
0
reply
slimefrog
Badges:
1
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#10
Report
#10
Hi, not to give too much away, but if you restart the section and read every detail of the information it actually gives you the answer
0
reply
Isoji
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#11
Report
#11
I have restarted the section up ten times and I still don't get it. Ive have been trying for up to a week or two.
0
reply
Pro_Ice360
Badges:
1
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#12
Report
#12
Sorry if I'm too late but you do:var rooms = [bridge,lab,canteen,cabin,storage]initiate();function lifeSupportCheck() {for (i=0;i<rooms.length;i ) {rooms[i]}}lifeSupportCheck();
0
reply
Dom123321
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#13
Report
#13
var rooms = [bridge,lab,canteen,cabin,storage]initiate();function lifeSupportCheck() {for (i=0;i<rooms.length;i ) {}}lifeSupportCheck();can someone help me with this
0
reply
Dom123321
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#14
Report
#14
var rooms = [bridge,lab,canteen,cabin,storage]
initiate();
function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
}
}
lifeSupportCheck();
initiate();
function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
}
}
lifeSupportCheck();
3
reply
Jacob Zorba
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#15
Report
#15
I've been trying to complete this iDEA quest but i can't complete it, PLS help!
PLS help it doesn't work for me, i tried a lot of different ways but it doesn't work i've been doing this for days but it is not working :
var rooms = [bridge,lab,canteen,cabin,storage]
initiate();
function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
}
}
lifeSupportCheck();
PLS help it doesn't work for me, i tried a lot of different ways but it doesn't work i've been doing this for days but it is not working :
var rooms = [bridge,lab,canteen,cabin,storage]
initiate();
function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
}
}
lifeSupportCheck();
Last edited by Jacob Zorba; 3 years ago
2
reply
SophDutton
Badges:
4
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#16
Report
#16
var rooms = [bridge,lab,canteen,cabin,storage]initiate();function lifeSupportCheck() {for (i=0;i<rooms.length;i ) {rooms[i];}}lifeSupportCheck();Please can someone help me with the above? It wants me to run the object through the lifeSupportOn() function.
8
reply
wgjc3107
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#17
Report
#17
I need help with the third section of this, I looped through soundBlocks, called playSound and passed the correct sound, but it still doesn't work. Here is my code:for (i=0;i<movementBlocks.length;i ) {doMovement(movementBlocks[i])}var soundBlocks = [crash,happyBeep,whistle];for (i=0;i<soundBlocks.length;i ) {playSound(SoundBlocks[i])}
1
reply
amurleopard123
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#18
Report
#18
do you need to do the + after the i in the loop?
Last edited by amurleopard123; 3 years ago
0
reply
amurleopard123
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#19
Report
#19
OK I JUST GOT IT. The code is basically the movement one but repeated so it looks like this
for (i=0;i<movementBlocks.length;i++){
do movement(movementBlocks[i])
}
var soundBlocks = [crash, happyBeep, whistle];
for (i=0;i<soundBlocks.length;i++){
playSound(soundBlocks[i])
}
I think that's what it did, its basically the first loop but with the sound blocks function subbed in instead. If you need help, then look at the hints, copy out those commands then lay them out in the same format as the part you're given
for (i=0;i<movementBlocks.length;i++){
do movement(movementBlocks[i])
}
var soundBlocks = [crash, happyBeep, whistle];
for (i=0;i<soundBlocks.length;i++){
playSound(soundBlocks[i])
}
I think that's what it did, its basically the first loop but with the sound blocks function subbed in instead. If you need help, then look at the hints, copy out those commands then lay them out in the same format as the part you're given
(Original post by amurleopard123)
do you need to do the + after the i in the loop?
do you need to do the + after the i in the loop?
0
reply
amurleopard123
Badges:
3
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#20
Report
#20
OK I JUST GOT IT. The code is basically the movement one but repeated so it looks like this
for (i=0;i<movementBlocks.length;i++){
do movement(movementBlocks[i])
}
var soundBlocks = [crash, happyBeep, whistle];
for (i=0;i<soundBlocks.length;i++){
playSound(soundBlocks[i])
}
I think that's what it did, its basically the first loop but with the sound blocks function subbed in instead. If you need help, then look at the hints, copy out those commands then lay them out in the same format as the part you're given
for (i=0;i<movementBlocks.length;i++){
do movement(movementBlocks[i])
}
var soundBlocks = [crash, happyBeep, whistle];
for (i=0;i<soundBlocks.length;i++){
playSound(soundBlocks[i])
}
I think that's what it did, its basically the first loop but with the sound blocks function subbed in instead. If you need help, then look at the hints, copy out those commands then lay them out in the same format as the part you're given
(Original post by wgjc3107)
I need help with the third section of this, I looped through soundBlocks, called playSound and passed the correct sound, but it still doesn't work. Here is my code:for (i=0;i<movementBlocks.length;i ) {doMovement(movementBlocks[i])}var soundBlocks = [crash,happyBeep,whistle];for (i=0;i<soundBlocks.length;i ) {playSound(SoundBlocks[i])}
I need help with the third section of this, I looped through soundBlocks, called playSound and passed the correct sound, but it still doesn't work. Here is my code:for (i=0;i<movementBlocks.length;i ) {doMovement(movementBlocks[i])}var soundBlocks = [crash,happyBeep,whistle];for (i=0;i<soundBlocks.length;i ) {playSound(SoundBlocks[i])}
3
reply
X
Quick Reply
Back
to top
to top