Face in Message

Discussion in 'Learning Javascript' started by Ghost of Christmas Kloe, Mar 31, 2016.

  1. Ghost of Christmas Kloe

    Ghost of Christmas Kloe Ghost of a Princess Seagull Veteran

    Messages:
    1,504
    Likes Received:
    913
    Location:
    Somewhere...
    First Language:
    English
    Primarily Uses:
    N/A
    Hiya Guys!


    I know this is probably a really stupidly simple question but how do you make it so the face comes up in the message window when using:


    $gameMessage.add("Hi! This is a message!")


    I have the actor id, so I can probably find the index and file name of the face graphic (I assume) so all I need to know is how to add a face graphic to $gameMessage.add("Blah Blah")


    Sorry if this is a silly question but I really wanna know! Thank you for reading/helping!  :cutesmile: :thumbsup-right:
     
    Last edited by a moderator: Mar 31, 2016
    #1
  2. mrcopra

    mrcopra Veteran Veteran

    Messages:
    449
    Likes Received:
    146
    Location:
    Your Heart
    First Language:
    Not English
    Primarily Uses:
    N/A
    $gameMessage.setFaceImage('Actor1',0)
    $gameMessage.setBackground(1)
    $gameMessage.setPositionType(1)
     
    #2
  3. Ghost of Christmas Kloe

    Ghost of Christmas Kloe Ghost of a Princess Seagull Veteran

    Messages:
    1,504
    Likes Received:
    913
    Location:
    Somewhere...
    First Language:
    English
    Primarily Uses:
    N/A
    Wait, does that just set it or by setting it does it appear?


    If it's the first one, then YAY! I'm done!
     
    #3
  4. mrcopra

    mrcopra Veteran Veteran

    Messages:
    449
    Likes Received:
    146
    Location:
    Your Heart
    First Language:
    Not English
    Primarily Uses:
    N/A
    put these scripts or just  $gameMessage.setFaceImage('Actor1',0)


    before $gameMessage.add("Blah Blah");
     
    #4
  5. Ghost of Christmas Kloe

    Ghost of Christmas Kloe Ghost of a Princess Seagull Veteran

    Messages:
    1,504
    Likes Received:
    913
    Location:
    Somewhere...
    First Language:
    English
    Primarily Uses:
    N/A
    Thank you! 
     
    #5

Share This Page