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: Changing response color at runtime  (Read 2152 times)

0 Members and 1 Guest are viewing this topic.

rkitting

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 44
    • View Profile
Changing response color at runtime
« on: April 21, 2008, 11:52:20 AM »

Hello,

I would like to have a response greyed out if it's been chosen before (like links in internet browsers).
I thought of SetFont(), but that affects the whole window and not just 1 response line.
Is this possible? I've seen it done in other adventure games.

Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Changing response color at runtime
« Reply #1 on: April 21, 2008, 03:14:57 PM »

Game.AddResponse() method allows you to specify font (see the scripting reference for parameter list).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.044 seconds with 20 queries.