Page 1 of 1

includes

Posted: Mon Jul 09, 2012 2:16 pm
by enric
Several scenario scripts have includes, usually placed at the same level as the scenario.BSF, but in some cases I can see them.
Exemple
include "functions.BSF"
include "tools.BSF" // that one I can find anywhere a file with this name.

And the scenario has not those files, where are they placed?, I look inside BA but there are not there either.

Re: inludes

Posted: Mon Jul 09, 2012 3:09 pm
by pipfromslitherine
I have added some explanation to the wiki:

http://www.slitherinebravo.net/GameWiki ... ding_files

tools.bsf is in DATA\SCRIPTS.

Cheers

Pip

Re: inludes

Posted: Mon Jul 09, 2012 4:34 pm
by enric
thank you.

One more:

choice = Rand(1, 3) ;

Always getting 1, not a random 1-3

Re: inludes

Posted: Mon Jul 09, 2012 4:39 pm
by pipfromslitherine
Working fine for me here. Might just be a run of 1's from the random generator.

Cheers

Pip