Disable Pilot fighting back

Pilot is pretty much unarmed so shouldnt fight back!
This commit is contained in:
Ciaran Fisher
2016-02-08 22:17:54 +00:00
parent fb4981d41c
commit ee88bf9c1c

View File

@@ -607,6 +607,9 @@ function csar.spawnGroup(_deadUnit)
local _spawnedGroup = Group.getByName(mist.dynAdd(_group).name)
-- Turn off AI
trigger.action.setGroupAIOff(_spawnedGroup)
return _spawnedGroup
end