Page 1 of 1

Callback

Posted: Wed Sep 26, 2012 9:15 am
by enric
I've a question about design, what is better for MP scenarios, a Campaign with a single scenario o several scenarios inside a single campaign?

I make the question because I see that if (for example) I modify the CALLBACKS.BSF file then all scenarios in the campaign need to be aware of such modification. Or there is a way to make a CALLBACKS.BSF (or another) specific for a scenario?.

Re: Callback

Posted: Wed Sep 26, 2012 2:56 pm
by pipfromslitherine
There are a number of ways around it - one would be to drive the callback logic via data in the units or via a universal var you set in the scenarios.

Cheers

Pip

Re: Callback

Posted: Wed Sep 26, 2012 3:22 pm
by enric
Yea, but if I use a universal variable when the callback executes in a scenario that has not that universal variable what's happen?.
I think, for MP, the best is to make a campaign (folder) for scenario.

Re: Callback

Posted: Wed Sep 26, 2012 5:16 pm
by pipfromslitherine
If you attempt to get the value of a non-existent global or universal variable, you will get back 0, and the var is created.

Cheers

Pip