Usage:
AiTemplate.Create
name
Argument values:
argument 1: | AA_Allies, AT25, AW52, Afrhouse_m1, AichiVal, Aichival-T, Aichival-TMGAI, AichivalMGAI, AlliedFactory, Ammobox_m1, B17, B17MG, BF109, BF110, BF110MGAI, BM21SAM, BM21SAMCannon, BTR60, BTR60Passenger3, ... |
Description: The Create command is used to inform the scripting engine that a new object is going to be created. All properties and commands following a create command will be applied to that object, until another create command or the end of the file is encountered.
Used in a total of 312 .con files: Object.con, Objects.con
Parent directories of these .con files: objects/Vehicles, objects/Vegetation, objects/Stationary_Weapons, objects/Soldiers, objects/MOVE_FILES, objects/Buildings, Bf1942/Levels
Example: (from objects/Buildings/Common/SuburbHouse_3_m1/Ai/Objects.con)
rem *** AITemplate ***
AiTemplate.Create SuburbHouse_3_m1
AiTemplate.AddType ITCover
AiTemplate.AddType ITStructure
AiTemplate.AddType ITNoTemperature
AiTemplate.Degeneration 1
AiTemplate.AllowedTimeDiff -1
AiTemplate.BasicTemp 1
AiTemplate.CommonKnowledge 1
AiTemplate.AddPlugIn SuburbHouse3Cover
AiTemplate.AddPlugIn SuburbHouse3Physical
Go to the AiTemplate properties list page, AiTemplate page, All Properties list, or Main scripting page.