I’m trying to not use flags to beat this level, and I would like my character to follow the raven when the space is cleared of enemies. However, I recognize the raven is a string, and therefore ‘raven.’ I don’t know how to indicate the position of that string. Help? I’ve been using enemy.pos.x and enemy.pos.y to indicate relative enemy position, so I wanted to my code to read:
# insert code about attacking various enemies various ways
but that, and iterations of that, are generating a “null” error. Is it possible to follow the raven? Am I missing another concept like “when enemies are gone, move to far right of whatever map you are in?” How else can I code my hero to leave the level when she’s done killing skeletons? Thanks!