Page 1 of 1

multiple STARTTURN_*

Posted: Mon Nov 02, 2015 6:59 pm
by enric
// You can now have multiple STARTTURN_* functions all of which are called (don't rely on the order in which
// they are called though!)

I messed how to made this to work.
If I added a FUNCTION in the main.BSF like STARTTURN_MYTASK(me), but it is never called.
If I created a new .BSF like STARTTURN_MYTASK.BSF with this function, and added to the BATTLE/SCRIPTS/ it is neither called.

How should I create an STARTTURN_MYTASK without modifying the original STARTTURN.BSF?

Re: multiple STARTTURN_*

Posted: Mon Nov 02, 2015 8:59 pm
by pipfromslitherine
Where is the documentation you are referencing.

Cheers

Pip

Re: multiple STARTTURN_*

Posted: Tue Nov 03, 2015 7:16 am
by enric
Just found it as a commen in several .BSF files
for example in:

25PDRBATTERY.BSF (line 72)
RALLY.PDF (line 116)
RESUPPLY.BSF (line 102)
etc.

Re: multiple STARTTURN_*

Posted: Tue Nov 03, 2015 5:08 pm
by pipfromslitherine
Ah - that is just that the bonuses can each have a STARTTURN function, as they have. No other aliases get called in other scripts.

Cheers

Pip