Menu
Login
Language
DE EN FR ES IT CZ
Back

Change color of Action Text when command is activated

  • #1, by dionous Tuesday, 13. June 2017, 21:56 9 years ago Quote
    Hello to all,

    Would it be possible to change color of the action text when activating a command as in the link below (lucasarts style)?

    Forum Fan

    250 Posts

  • #2, by sebastian Tuesday, 13. June 2017, 22:18 9 years ago Quote
    the link is not possible to open for unregistered people... 

    Thread Captain

    2346 Posts

  • #3, by dionous Tuesday, 13. June 2017, 22:37 9 years ago Quote
    oops, sorry, corrected now

    Forum Fan

    250 Posts

  • #4, by sebastian Tuesday, 13. June 2017, 22:49 9 years ago Quote
    regarding the data structure the font for Action texts is not scriptable... which doesnt mean it is temporary changable. 

    you could try to link to another Font via Lua. 

    InterfaceActionTextFont

    or

    GameActionTextFont

    are the needed fields depending if your action text is configured in the game settings or inside the interface. 

    e. g. 

    game:setValue(VGameActionTextFont, Fonts["fonthighlightname"]) 

    untested though

    Thread Captain

    2346 Posts