Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Speech ballon for actor  (Read 2394 times)

0 Members and 1 Guest are viewing this topic.

caeycae

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
Speech ballon for actor
« on: January 11, 2015, 01:24:24 AM »

Hello!

Am looking make a speech ballon background for the custom Talk method.

I overwrote the actor Talk method with the following code, but I do not know how to position the window below the text that says the actor.

Code: [Select]
method Talk(srcString)
{
var tmpState = Game.Interactive;
    Game.Interactive = false; 

    var ballon = Game.LoadWindow("interface\speech-ballon\speech.window"); // load the dialogue window   

this.Talk(srcString); // call the game talk method
       
    Game.UnloadObject(ballon);  // dispose of the window

Game.Interactive = tmpState;   
}

Can you help me?
Logged
 

Page created in 0.02 seconds with 20 queries.