Login
OFPEC RSS
Username:
Password:
Not a member yet?
Register for free!
Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
›
COMREF
›
K
›
knowsAbout
unit
knowsAbout
target
Operand types
unit
:
Object or Group
target
:
Object
Type of returned value
Number
Description
Check if (and by how much) unit knows about target.
If unit is vehicle, vehicle commander is considered.
Used In
OFP/ArmA
Example
_kv = soldierOne knowsAbout jeepOne
Search OFPEC COMREF
Types
Arrays
Scripting Topics
BIS Functions
Arma2 CfgVehicles
Arma2 Weapons
ArmA CfgVehicles
ArmA Weapons
OFP CfgVehicles
OFP Weapons
- Select Game -
List All
Arma3 Only
Arma2:OA Only
Arma2 Only
ArmA Only
Elite
Original OFP
- Select Group -
objects
units
groups
vehicles
weapons
arrays
items
backpacks
buldozer
mines
uniforms
vests
tasks
locations
artillery
configs
UAVs
briefings
mission flow
sites
map
draw
leaderboards
markers
environment
game
dialogs
displays
namespaces
radio
channels
FSM
diagnostics
firing from vehicles
slingload
advanced flight model
DLC
weapon stabilization
suppression
waypoints
cutscenes
sound
mathematics
variables
script commands
multiplayer
Zeus
3D editor
3D draw
Top of page
With Resistance (1.91):
No matter what class of unit the target is and no matter what the skill/class of the enemy AI, the magic 'knowsAbout' number is 0.105.
With CWC (1.46):
No matter what class of unit the target is and no matter what the skill/class of the enemy AI, the magic 'knowsAbout' number is 0.7.
What this means is, the AI will not fire on an enemy soldier until his 'knowsAbout' level of that enemy has reached the 'magic number' or higher.
This suggests that the knowsabout level must reach the magic threshold before a unit knows if another unit is an enemy or friendly unit.
Triggers and knowsabout level:
"Detected by xxx" triggers also follow the above rules.
For a detected trigger to be set off, the knowsAbout level must reach the magic number.
Also...
As soon as An AI unit gets hit with a bullet his knowsAbout level for the unit that shot him will instantly jump to 1.5, even if the shooter is 1000m away.
Vice versa is also true.
If An AI soldier's knowsAbout level for an enemy is 0.7 and the soldier fires and hits the enemy, his knowsAbout level about the enemy will instantly jump to 1.5.
This seems like some sort of AI tweak BIS implemented.