autogame feature update: after enabling autogame feature, make ai use droids built while autogame feature was off
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2093 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
c08c2ba7eb
commit
db66f6c053
|
@ -1250,11 +1250,8 @@ event newfortify(fortifyTr)
|
|||
// droid building rules
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// deal with a droid being built
|
||||
event droidBuilt(droidBuiltTr)
|
||||
event droidBuiltAssign(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
|
||||
if(isVtol(droid))
|
||||
{
|
||||
if(vtolDefendGr.members < numDefendVtols)
|
||||
|
@ -1329,7 +1326,16 @@ event droidBuilt(droidBuiltTr)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//When droid built: set droid retreat level and start building next droid
|
||||
event droidBuilt(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
if(!isVtol(droid))
|
||||
{
|
||||
_repairFacility = getStructure(repairFacility,me);
|
||||
if(_repairFacility == NULLOBJECT)
|
||||
{
|
||||
|
|
|
@ -1250,11 +1250,8 @@ event newfortify(fortifyTr)
|
|||
// droid building rules
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// deal with a droid being built
|
||||
event droidBuilt(droidBuiltTr)
|
||||
event droidBuiltAssign(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
|
||||
if(isVtol(droid))
|
||||
{
|
||||
if(vtolDefendGr.members < numDefendVtols)
|
||||
|
@ -1329,7 +1326,16 @@ event droidBuilt(droidBuiltTr)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//When droid built: set droid retreat level and start building next droid
|
||||
event droidBuilt(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
if(!isVtol(droid))
|
||||
{
|
||||
_repairFacility = getStructure(repairFacility,me);
|
||||
if(_repairFacility == NULLOBJECT)
|
||||
{
|
||||
|
|
|
@ -1250,11 +1250,8 @@ event newfortify(fortifyTr)
|
|||
// droid building rules
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// deal with a droid being built
|
||||
event droidBuilt(droidBuiltTr)
|
||||
event droidBuiltAssign(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
|
||||
if(isVtol(droid))
|
||||
{
|
||||
if(vtolDefendGr.members < numDefendVtols)
|
||||
|
@ -1329,7 +1326,16 @@ event droidBuilt(droidBuiltTr)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//When droid built: set droid retreat level and start building next droid
|
||||
event droidBuilt(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
if(!isVtol(droid))
|
||||
{
|
||||
_repairFacility = getStructure(repairFacility,me);
|
||||
if(_repairFacility == NULLOBJECT)
|
||||
{
|
||||
|
|
|
@ -1250,11 +1250,8 @@ event newfortify(fortifyTr)
|
|||
// droid building rules
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// deal with a droid being built
|
||||
event droidBuilt(droidBuiltTr)
|
||||
event droidBuiltAssign(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
|
||||
if(isVtol(droid))
|
||||
{
|
||||
if(vtolDefendGr.members < numDefendVtols)
|
||||
|
@ -1329,7 +1326,16 @@ event droidBuilt(droidBuiltTr)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//When droid built: set droid retreat level and start building next droid
|
||||
event droidBuilt(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
if(!isVtol(droid))
|
||||
{
|
||||
_repairFacility = getStructure(repairFacility,me);
|
||||
if(_repairFacility == NULLOBJECT)
|
||||
{
|
||||
|
|
|
@ -1250,11 +1250,8 @@ event newfortify(fortifyTr)
|
|||
// droid building rules
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// deal with a droid being built
|
||||
event droidBuilt(droidBuiltTr)
|
||||
event droidBuiltAssign(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
|
||||
if(isVtol(droid))
|
||||
{
|
||||
if(vtolDefendGr.members < numDefendVtols)
|
||||
|
@ -1329,7 +1326,16 @@ event droidBuilt(droidBuiltTr)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//When droid built: set droid retreat level and start building next droid
|
||||
event droidBuilt(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
if(!isVtol(droid))
|
||||
{
|
||||
_repairFacility = getStructure(repairFacility,me);
|
||||
if(_repairFacility == NULLOBJECT)
|
||||
{
|
||||
|
|
|
@ -1250,11 +1250,8 @@ event newfortify(fortifyTr)
|
|||
// droid building rules
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// deal with a droid being built
|
||||
event droidBuilt(droidBuiltTr)
|
||||
event droidBuiltAssign(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
|
||||
if(isVtol(droid))
|
||||
{
|
||||
if(vtolDefendGr.members < numDefendVtols)
|
||||
|
@ -1329,7 +1326,16 @@ event droidBuilt(droidBuiltTr)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//When droid built: set droid retreat level and start building next droid
|
||||
event droidBuilt(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
if(!isVtol(droid))
|
||||
{
|
||||
_repairFacility = getStructure(repairFacility,me);
|
||||
if(_repairFacility == NULLOBJECT)
|
||||
{
|
||||
|
|
|
@ -1250,11 +1250,8 @@ event newfortify(fortifyTr)
|
|||
// droid building rules
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// deal with a droid being built
|
||||
event droidBuilt(droidBuiltTr)
|
||||
event droidBuiltAssign(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
|
||||
if(isVtol(droid))
|
||||
{
|
||||
if(vtolDefendGr.members < numDefendVtols)
|
||||
|
@ -1329,7 +1326,16 @@ event droidBuilt(droidBuiltTr)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//When droid built: set droid retreat level and start building next droid
|
||||
event droidBuilt(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
if(!isVtol(droid))
|
||||
{
|
||||
_repairFacility = getStructure(repairFacility,me);
|
||||
if(_repairFacility == NULLOBJECT)
|
||||
{
|
||||
|
|
|
@ -1250,11 +1250,8 @@ event newfortify(fortifyTr)
|
|||
// droid building rules
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// deal with a droid being built
|
||||
event droidBuilt(droidBuiltTr)
|
||||
event droidBuiltAssign(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
|
||||
if(isVtol(droid))
|
||||
{
|
||||
if(vtolDefendGr.members < numDefendVtols)
|
||||
|
@ -1329,7 +1326,16 @@ event droidBuilt(droidBuiltTr)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//When droid built: set droid retreat level and start building next droid
|
||||
event droidBuilt(droidBuiltTr)
|
||||
{
|
||||
local STRUCTURE _repairFacility;
|
||||
|
||||
if(!isVtol(droid))
|
||||
{
|
||||
_repairFacility = getStructure(repairFacility,me);
|
||||
if(_repairFacility == NULLOBJECT)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue