View Full Version : advance_advice_thread
Lord Adherbal
07-26-2006, 21:24
I think I asked this question before, but just in case someone knows more about it now:
I'm using "advance_advice_thread" to let the advisor pop up in a battlemap script. However, it seems as if it only works once. If the battle is played a second time the advisor nolonger shows up. Anyone knows if this can be fixed ?
Epistolary Richard
07-27-2006, 00:16
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.
Lord Adherbal
07-27-2006, 12:22
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.
Lord Adherbal
07-29-2006, 16:30
is there any way to make the text balloon open automatically ? I tried it with the following script, but that didn't work:
select_ui_element advisor_speech_bubble
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up
The_Mark
07-29-2006, 16:40
Try this:
select_UI_element advisor_portrait_button
Lord Adherbal
07-29-2006, 16:58
excellent, that did the job. Thanks!
Monkwarrior
07-29-2006, 18:16
I use this piece of script but it never works:
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up
Do you know where is the mistake?:embarassed:
Lord Adherbal
07-29-2006, 22:18
but the advisor pops up and the text balloon shows when you click him ?
Monkwarrior
07-30-2006, 10:14
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:
Lord Adherbal
07-31-2006, 17:34
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.
Monkwarrior
08-03-2006, 22:47
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:
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.