Change color of Action Text when command is activated

  • #1, z dionousTuesday, 13. June 2017, 21:56 hodinky 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)?

    Fanoušek fóra

    246 Posts


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

    Kapitán

    2346 Posts

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

    Fanoušek fóra

    246 Posts

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

    Kapitán

    2346 Posts