Change color of Action Text when command is activated

  • #1, by dionousTuesday, 13. June 2017, 21:56 7 years ago
    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

    246 Posts


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

    Thread Captain

    2346 Posts

  • #3, by dionousTuesday, 13. June 2017, 22:37 7 years ago
    oops, sorry, corrected now

    Forum Fan

    246 Posts

  • #4, by sebastianTuesday, 13. June 2017, 22:49 7 years ago
    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