I have a set of sprites called enemy1, enemy2, enemy3 and enemy4 - I also have a global called "whichenemy" and it will contain an integer between 1 and 4 - How do I select the sprite associated with the global so as I can then perform an action on that sprite - IE: Pseudocode would be :
select "enemy" + str(whichenemy) {
this.doaction
}
Any help much appreciated 🙂