Hi all,
N00b here, trying to understand what seems like a pretty trivial problem...
I want to base a Sprite on one of a number of other Sprites at the start of a level. Here's some pseudo-code that hopefully explains:
Start of level
Generate random number (1 or 2)
If number is 1, Enemy_Sprite should be a zombie
If number is 2, Enemy_Sprite should be a werewolf
What I've tried to do is have Sprites for the 2 possibilties in the layout (along with thheir animations and other props), then assign one of them (as an object instance) to Enemy_Sprite. It's Enemy_Sprite that I refer to in the Event sheet.
Hope this explains. Happy to give further info if you need it - and thanks in anticipation. :)