Create Property
Usage: AiTemplatePlugIn .Create
string name
Argument values:
argument 1:
Armament, ControlInfo, ControlInfo3d, Cover, Mobile, Physical, Unit; most commonly Physical
argument 2:
AA_AlliesArmament, AA_AlliesCtrl, AA_AlliesPhysical, AA_AlliesUnit, AT25Armament, AT25Ctrl, AT25Physical, AT25Unit, AW52Arms, AW52Cover, AW52Ctrl, AW52Mobile, AW52Physical, AW52Unit, AfrhouseCover, AfrhousePhysical, ...
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/Vehicles/Air/WasserfallRocket/Ai/Objects.con)
rem *** Plugins ***
AiTemplatePlugIn.Create Unit WasserFallRocketUnit
AiTemplatePlugIn.EquipmentType 1
AiTemplatePlugIn.SetStrategicStrength 0 3
AiTemplatePlugIn.SetStrategicStrength 1 3
Go to the AiTemplatePlugIn properties
list page , AiTemplatePlugIn page ,
All Properties list ,
or Main scripting page .