H
Huy
Guest
Hi,
When my 'human' instance is created i want it to choose, at random, from 3 different human Idle animation.
right now, in the create event of the instance, it executes:
sprite_index = choose(m1Idle, m2Idle,m3Idle);
//(m1Idle,M2Idle.... are the names of my sprites)
but when the game starts, there's nothing there. What do i need?
also, after the instance choose a sprite, can i set the sprite somewhere so later if i do change the sprite of the instance, i can change it back by referring to the old sprite.
When my 'human' instance is created i want it to choose, at random, from 3 different human Idle animation.
right now, in the create event of the instance, it executes:
sprite_index = choose(m1Idle, m2Idle,m3Idle);
//(m1Idle,M2Idle.... are the names of my sprites)
but when the game starts, there's nothing there. What do i need?
also, after the instance choose a sprite, can i set the sprite somewhere so later if i do change the sprite of the instance, i can change it back by referring to the old sprite.