mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Lua script injected in mission will not listen to weapon fired event anymore.
This commit is contained in:
parent
dac78f8f09
commit
3e5be909a2
@ -59,9 +59,9 @@ local function onEvent(event)
|
||||
destroyed_objects_positions[#destroyed_objects_positions + 1] = destruction
|
||||
end
|
||||
|
||||
if event.id == world.event.S_EVENT_SHOT and event.weapon then
|
||||
weapons_fired[#weapons_fired + 1] = event.weapon.getTypeName(event.weapon)
|
||||
end
|
||||
--if event.id == world.event.S_EVENT_SHOT and event.weapon then
|
||||
-- weapons_fired[#weapons_fired + 1] = event.weapon.getTypeName(event.weapon)
|
||||
--end
|
||||
|
||||
if event.id == world.event.S_EVENT_BASE_CAPTURED and event.place then
|
||||
--messageAll("Base captured :" .. event.place.getName(event.place))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user