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

Timber Guard(python)

back, can you show me your code?

@CocoCharlie If you want to command your friends to move somewhere, it should look like this:

hero.command(friend, move, {"x": Your X position here, "y": Your Y position here})

Like this:

if enemy:
                
                hero.command(friend, "attack", enemy)
            else:
                hero.command(friend, "move", {'x': X coordinates, 'y':Y coordinates})

Lydia

1 Like

Hi, i have a TON of school work to do, so i still can’t get back to you. :frowning_face: :frowning_face:

3 Likes