Re: advance_advice_thread
Can you show us your advice thread and tell us which file you're putting it in? There's an advisor in the Teutoburgerwald forest battlemap script that will appear a second and subsequent times.
Re: advance_advice_thread
thanks ER, that's all I needed to know ~:) it works now. I used an example from the Battle Tutorial but apparently not a good one.
Re: advance_advice_thread
is there any way to make the text balloon open automatically ? I tried it with the following script, but that didn't work:
Code:
select_ui_element advisor_speech_bubble
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up
Re: advance_advice_thread
Try this:
Code:
select_UI_element advisor_portrait_button
Re: advance_advice_thread
excellent, that did the job. Thanks!
Re: advance_advice_thread
I use this piece of script but it never works:
Quote:
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up
Do you know where is the mistake?:embarassed:
Re: advance_advice_thread
but the advisor pops up and the text balloon shows when you click him ?
Re: advance_advice_thread
Quote:
Originally Posted by [cF]Adherbal
but the advisor pops up and the text balloon shows when you click him ?
Yes.
The only problem is that the text is not shown automatically.:wall:
Re: advance_advice_thread
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.
Re: advance_advice_thread
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.:dizzy2: