Changing Hero Image

BasGoodboyBasGoodboy Member, PRO Posts: 310
edited August 2013 in Working with GS (Mac)
Hello all,

So im making a small rpg ish hero scene where the hero levels if you train or fight.

It's all going quite good so far, the leveling and xp goes fine.. but..

I want the hero image to change if level goes up by level.

So i did this:

When Game.Level is 1, change image of actor to: imagelvl1.

So.. after leveling to level 1 the image of the actor does change.. but only for 0,1 second and it goes back.
I didn't put a timer on it or anything, anyone who knows why??

Comments

  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    edited August 2013
    Ahh.. My hero got an animation..

    If i put the animation off.. it does work.

    How can I make it work with the animation on??

    EDIT: Done it. Had to put the animation off, and since im working with an integer,

    Made: if game.herolevelimage = 0, change image in: imagelevel1 + an animation, which does work!
Sign In or Register to comment.