// FinalAlert2:YR Script file
// Written By: Matthias Wagner, Yuri's Helper
// Last Change: Feb.7th 2011
// Be careful when editing scripts, they may cause damage to maps if used improperly



AskContinue("这个脚本会为苏军作战方增添一个关于自动建立动员兵攻击敌对方的AI，是否继续？");

// disable safe mode so that we can move already existing waypoints, not just create new ones
// user must allow the script to do this. If he does not, the waypoints won't be moved if they
// already exist.
SetSafeMode("FALSE","Necessary for moving waypoints");

AllowAdd("Necessary for adding AI trigger");

UInputGetInteger("%Count%","你需要多少动员兵在这个小队里?","1","20");

SetIniKey("ScriptTypes","25800001","25800001");
SetIniKey("TaskForces","25800002","25800002");
SetIniKey("TeamTypes","25800003","25800003");

// taskforce
SetIniKey("25800001","0","%Count%,E2");
SetIniKey("25800001","Name","%Count% E2");
SetIniKey("25800001","Group","-1");

// script
SetIniKey("25800002","0","54,0");
SetIniKey("25800002","1","53,0");
SetIniKey("25800002","2","0,1");
SetIniKey("25800002","3","11,15");
SetIniKey("25800002","Name","AI E2 Attack");

// teamtype
SetIniKey("25800003","Max","5");
SetIniKey("25800003","Full","no");
SetIniKey("25800003","Name","Apoc Attack");
SetIniKey("25800003","Group","-1");
SetIniKey("25800003","House","Neutral");
SetIniKey("25800003","Script","25800001");
SetIniKey("25800003","Whiner","no");
SetIniKey("25800003","Droppod","no");
SetIniKey("25800003","Suicide","no");
SetIniKey("25800003","Loadable","no");
SetIniKey("25800003","Prebuild","no");
SetIniKey("25800003","Priority","5");
SetIniKey("25800003","Waypoint","A");
SetIniKey("25800003","Annoyance","yes");
SetIniKey("25800003","IonImmune","no");
SetIniKey("25800003","Recruiter","yes");
SetIniKey("25800003","Reinforce","no");
SetIniKey("25800003","TaskForce","25800002");
SetIniKey("25800003","TechLevel","0");
SetIniKey("25800003","Aggressive","yes");
SetIniKey("25800003","Autocreate","no");
SetIniKey("25800003","GuardSlower","no");
SetIniKey("25800003","OnTransOnly","no");
SetIniKey("25800003","AvoidThreats","no");
SetIniKey("25800003","LooseRecruit","no");
SetIniKey("25800003","VeteranLevel","1");
SetIniKey("25800003","IsBaseDefense","no");
SetIniKey("25800003","UseTransportOrigin","no");
SetIniKey("25800003","MindControlDecision","0");
SetIniKey("25800003","OnlyTargetHouseEnemy","no");
SetIniKey("25800003","TransportsReturnOnUnload","no");
SetIniKey("25800003","AreTeamMembersRecruitable","yes");

AddAITrigger("%AITrigID%","E2 Attack,25800003,<all>,1,1,NAHAND,01000000030000000000000000000000000000000000670100000000cc869412,250.000000,230.000000,250.000000,1,0,2,0,<none>,1,1,1");
SetIniKey("AITriggerTypesEnable","%AITrigID%","yes");
