Change color of Action Text when command is activated

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

    237 Posts


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

    Thread Captain

    2337 Posts

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

    Forum Fan

    237 Posts

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

    2337 Posts

Write post