Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Placing caption  (Read 3416 times)

0 Members and 1 Guest are viewing this topic.

Musta Kaapu

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 55
  • "I'm a bunny rabbit!"
    • View Profile
    • SomethingAwful
Placing caption
« on: May 18, 2003, 11:47:18 AM »

Is there a way to change the cursor's caption position? Or should I just make smaller icons/curosors?

Logged
"Do you still wish to fight me?"

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:Placing caption
« Reply #1 on: May 18, 2003, 12:40:06 PM »

Check the "scripts\game_daemon.script" file. There is a caption positioning code near the beginning of the script:

Code: [Select]
     WinCaption.X = Game.MouseX;
      WinCaption.Y = Game.MouseY + 20;
      WinCaption.TextAlign = TAL_LEFT;
      WinCaption.Text = ActObj.Caption;

You can modify the position appropriately.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Musta Kaapu

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 55
  • "I'm a bunny rabbit!"
    • View Profile
    • SomethingAwful
Re:Placing caption
« Reply #2 on: May 18, 2003, 12:56:44 PM »

Ok thanks, I must have missed that.  :)
Logged
"Do you still wish to fight me?"
 

Page created in 0.04 seconds with 20 queries.