Usage:
AiTemplatePlugIn.SetHearingProbability
number number
Argument values:
argument 1: | 0.01 |
argument 2: | 0.1 |
Used in object types (and how often in each type): Mobile (2%)
Used in a total of 2 .con files: Objects.con
Parent directory of these .con files: objects/Soldiers
Example: (from objects/Soldiers/Common/AI/Objects.con)
AiTemplatePlugIn.Create Mobile SoldierMobile
AiTemplatePlugIn.VehicleNumber 1
AiTemplatePlugIn.MaxSpeed 5.0
AiTemplatePlugIn.TurnRadius 0.1
AiTemplatePlugIn.CoverSearchRadius 20.0
AiTemplatePlugIn.SetSoundSphereRadius 0.0 15.0
AiTemplatePlugIn.SetHearingProbability 0.01 0.1
AiTemplatePlugIn.LodHeight 1.0
Go to the AiTemplatePlugIn properties list page, AiTemplatePlugIn page, All Properties list, or Main scripting page.