State highlighting when hovering over a deccision

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Parome

Recruit
3 Badges
Aug 8, 2022
3
0
  • Crusader Kings II
  • Stellaris
  • Hearts of Iron IV: Cadet
Hi, I am wondering as to how one could achieving the following effect:

1659960127760.png


So far I have tried these 2 things:
Code:
on_map_area = {
    name = integration_tooltip
    zoom = 250
    targets = { 109 102 }
    target_root_trigger = { tag = YUG }
}
highlight_states = {
    highlight_state_targets = {state = 109 state = 102}
    highlight_color_while_active = 1
    highlight_color_before_active = 3
}

Neither have yielded anything esp the 2nd option (doing literally nothing), the first one did highlight a state but rather with a button.

I have checked the source code of Kaissereich and I have checked the modding wiki.

Any clues as to how this could be done?