AddType Property

Usage:
   AiTemplate.AddType name

Argument values:

argument 1:    ITAir, ITAirHeli, ITAirHeliLight, ITBiological, ITCanBeWinched, ITCover, ITFixed, ITFreeFirePos, ITGround, ITLowPriority, ITMobile, ITNaval, ITNoChildRender, ITNoRender, ITNoTemperature, ITObstructedView, ...

Related properties: AddPlugIn, AllowedTimeDiff, BasicTemp, CommonKnowledge

This property is not a part of any defined type of object.

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/Mosquito/Ai/Objects.con)
   rem *** AITemplate ***
   AiTemplate.Create Mosquito
   AiTemplate.AddType ITUnit
   AiTemplate.AddType ITMobile
   AiTemplate.AddType ITAir
   rem aiTemplate.addType ITCover
   AiTemplate.Degeneration 5
   AiTemplate.AllowedTimeDiff 0.5
   AiTemplate.BasicTemp 20
   AiTemplate.CommonKnowledge 0
   AiTemplate.AddPlugIn MosquitoUnit
   AiTemplate.AddPlugIn MosquitoCover
   AiTemplate.AddPlugIn MosquitoPhysical
   AiTemplate.AddPlugIn MosquitoCtrl
   AiTemplate.AddPlugIn MosquitoMobile
   AiTemplate.AddPlugIn MosquitoArms


Go to the AiTemplate properties list page, AiTemplate page, All Properties list, or Main scripting page.