PDA

View Full Version : Scripting Questions



LordHazard
09-11-2005, 07:21
I'm trying to learn how to script and I'm kind of confused, so I have a few questions (for now).

1. Can I make my own triggers/advice threads?

2. Where is the text that comes up with the advisor located?

Thanks

Epistolary Richard
09-11-2005, 08:34
1) Yes, there's no limit that we've found so far on the number of advice threads/triggers. You must remember to add any new advice thread entry to export_descr_advice_enums as well.

2) It's in text/export_advice

LordHazard
09-11-2005, 08:59
thanks

LordHazard
09-11-2005, 19:51
If I wanted to make a trigger for a certain year, what would the whentotest and the condition be?

Stuie
09-11-2005, 21:41
If I wanted to make a trigger for a certain year, what would the whentotest and the condition be?

For WhenToTest you could use "FactionTurnStart". For year, you actually need to determine what turn number it is (two turns per year in the normal game) and then use "Condition I_TurnNumber = xxx".