Page 2 of 2

Re: Airstrike/Artillery - Restrictions

Posted: Tue Jul 10, 2012 6:02 pm
by enric
No, no, it was just a info, because passing files from a Mac to a iPad, directly o by iCloud is the same.
As i do it in others apps (moving files from the Mac to the iPad) and I have no issue with the names I thought it was something that could be adjusted from the app.
In the future and, if as expected, BA grows and grows, A way to allow users to make their own scenarios in the Mac or PC and be able to send them to the iPad, without the aid of Slitherine, will be a great improvement.
As an idea, I've an application for the iPad: iRealb, that allows you to create songs on the Mac, put any name (upper/lower), and send by email, then on the iPad you can open the email and pass the received files to iRealb.

Re: Airstrike/Artillery - Restrictions

Posted: Tue Jul 10, 2012 6:06 pm
by pipfromslitherine
OK, gotcha. It would definitely be part of any system we implemented to let people drop files onto the iPad. It's just not there now as there is no supported way for them to do it.

I'm more likely to implement a 'beta' upload section of some kind to let people grab 'unofficial' mods that people might want to put up and that allows anyone who has created a mod to upload. Otherwise it's adding support hassles for a tiny % of users who are going to be happy or able to connect to iTunes and move files around.

Cheers

Pip

Re: Airstrike/Artillery - Restrictions

Posted: Fri Jul 27, 2012 9:47 am
by GottaLove88s
Enric/Pip, Thanks again for your clever code to restrict artillery/airstrikes at the beginning of a new MP game.
Experimenting, the values below stop players setting artillery or airstrikes until precisely 3rd turn... Nice :-)


// called at the start of every turn.
// You would tend to use this for events
FUNCTION StartTurn(side)
{
if (GetTurn() == -1 )
{
// Setup VPs, damaged tiled, ...
PreBattleSetup() ;
}

if (GetTurn() == 0) // allied
{
SetScriptGlobal("P47", "gCounter",2) ;
SetScriptGlobal("USBattery", "gCounter", 1) ;
}
if (GetTurn() == 1) // German
{
SetScriptGlobal("ME262", "gCounter", 4) ;
SetScriptGlobal("NebelBattery", "gCounter", 1) ;
}

}