Usage:
LodSelectorTemplate.Create
string name
Argument values:
argument 1: | CompareSelector, DistCompareSelector, DistCompareSelector2, DistanceSelector; most commonly DistCompareSelector2 |
argument 2: | AT25CockpitSelector, AW52LodSelector, AW52cockpitSelector, AfrhouseSelector, AichiValCockpitSelector, AichiValLodSelector, AichiValPropSelector, Aichival-TCockpitSelector, Aichival-TLodSelector, Aichival-TPropSelector, ... |
Description: The Create command is used to inform the scripting engine that a new LOD (Level of Detail) selector template 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.
The first argument is one of the pre-defined level of detail selector template object types that is going to be created. See the type list.
The second argument is the unique name of the object. This is used in any object references.
Used in a total of 208 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, objects/Objectives, objects/MOVE_FILES, objects/HandWeapons, objects/Buildings, Bf1942/Levels
Example: (from objects/Vehicles/Sea/Elco80/Objects.con)
rem ====== Elco80LodSelector ======
LodSelectorTemplate.Create DistCompareSelector2 Elco80LodSelector
LodSelectorTemplate.AddLodDistance 100
Go to the LodSelectorTemplate properties list page, LodSelectorTemplate page, All Properties list, or Main scripting page.