mirror of
https://github.com/ciribob/DCS-CSAR.git
synced 2025-10-29 16:56:07 +00:00
Disable Pilot fighting back
Pilot is pretty much unarmed so shouldnt fight back!
This commit is contained in:
3
CSAR.lua
3
CSAR.lua
@@ -607,6 +607,9 @@ function csar.spawnGroup(_deadUnit)
|
|||||||
|
|
||||||
local _spawnedGroup = Group.getByName(mist.dynAdd(_group).name)
|
local _spawnedGroup = Group.getByName(mist.dynAdd(_group).name)
|
||||||
|
|
||||||
|
-- Turn off AI
|
||||||
|
trigger.action.setGroupAIOff(_spawnedGroup)
|
||||||
|
|
||||||
return _spawnedGroup
|
return _spawnedGroup
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user