Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Lawrence

Problem with " set_graphic " command

Question

Hi everyone, I searched in the game scripts and I've found the command to change graphics, after many attempts I wrote a script that doesn't crash, but it doesn't do anything else!

 

This is the script:

def initialize
    player = $game_party.actors[0]

    if player.character_name == "Ch_001"
      
      player.set_graphic("Ch_002",1," ",0)
    end
  end

What am I doing wrong?

 

I tested it with a print command and it works, so I wrote something wrong in the set_graphic thing

Edited by Lawrence

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...