Log in

View Full Version : Show_Me Script not working with 1.5



GHirsch
01-15-2006, 05:44
Please show me some mercy as Im pretty new to using scripts. My problem is I cant get my feet off the ground. The Show_Me button doesnt seem to activate. I go through the protocol hitting F1 and pressing the ?. Even when starting a new game at no time does the Show Me button ever activate. It just stays greyed out. Could someone help me out. Thanks.:help:

Monkwarrior
01-15-2006, 15:47
Please show me some mercy as Im pretty new to using scripts. My problem is I cant get my feet off the ground. The Show_Me button doesnt seem to activate. I go through the protocol hitting F1 and pressing the ?. Even when starting a new game at no time does the Show Me button ever activate. It just stays greyed out. Could someone help me out. Thanks.:help:
The help of the shortcuts pannel is deactivated in RTW 1.5. To launch your script you can make a new trigger in export_descr_advice.
As an example, this is the way I did for my own background script:

;------------------------------------------ ITW script launcher
Trigger ITW_Campaign_Thread_Trigger
WhenToTest ScrollOpened

Condition ScrollOpened help_scroll

AdviceThread ITW_Campaign_Thread 0


;------------------------------------------ ITW_Campaign
AdviceThread ITW_Campaign_Thread
GameArea Campaign

Item ITW_Campaign_Text_01
Uninhibitable
Verbosity 0
Threshold 1
Attitude Normal
Presentation Default
Title ITW_Campaign_Text_01_Title
Script scripts\show_me\espionaje_tecnologico.txt
Text ITW_Campaign_Text_01_Text1

You must include also the corresponding title and text in export_advice.txt.

In this way, when you press F1 the shortcuts pannel appears and immediately also the advisor, with the show-me button prepared to be pressed.

Another point I remarked some days ago:
The script won't be launched a second time if you don't exit completely RTW. If you exit only the campaign and you try to start another one, the script won't be launched.

I hope this helps.

GHirsch
01-16-2006, 01:17
Hey thanks for the advice. It worked. :laugh4:

aleajactaest
01-16-2006, 10:16
If you exit the campaign and you try to start a new campaign, open the folder 'preferences' (in RTW) and delete the file 'advice'. The scripts will be reinitialized for the new campaign.

Monkwarrior
01-16-2006, 11:44
If you exit the campaign and you try to start a new campaign, open the folder 'preferences' (in RTW) and delete the file 'advice'. The scripts will be reinitialized for the new campaign.
Thanks for the tip. :2thumbsup: