Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Help on Reindeer Wakeup [SOLVED]


#1

Here is my code (revised to only include problematic code):

    if reindeer.pos.y > 30:
        deerStatus[deerIndex] == "awake"

The problem is the hero always says that the reindeer is asleep. Please help me!


#2
deerStatus[deerIndex] == "awake" //  == returns boolean value; = is assignment 
                                 //( I know you know it )

#3

That was ridiculously easy. Sorry for late reply, and thank you for helping me!