I use this piece of script but it never works:
Do you know where is the mistake?select_ui_element advisor_portrait_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up![]()
I use this piece of script but it never works:
Do you know where is the mistake?select_ui_element advisor_portrait_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up![]()
but the advisor pops up and the text balloon shows when you click him ?
Member of The Lordz Games Studio:
A new game development studio focusing on historical RTS games of the sword & musket era
http://www.thelordzgamesstudio.com
Member of The Lordz Modding Collective:
Creators of Napoleonic Total War I & II
http://www.thelordz.co.uk
Yes.Originally Posted by [cF]Adherbal
The only problem is that the text is not shown automatically.![]()
hm I have a "battle_wait 1" between this and the "advance_advice_thread" lines, to give the advisor the time to enter the screen. I never tested it without, but this could be your problem.
Member of The Lordz Games Studio:
A new game development studio focusing on historical RTS games of the sword & musket era
http://www.thelordzgamesstudio.com
Member of The Lordz Modding Collective:
Creators of Napoleonic Total War I & II
http://www.thelordz.co.uk
I think that I've understood what is happening.
The problem is present when the advice thread appears at the beginning of the turn, probably due to interaction with the incoming messages (recruitment, construction, faction announcements...).
When the advice comes in the middle of the turn, the text appears without problems.![]()
Bookmarks