mirror of
https://github.com/iTracerFacer/DCS_MissionDev.git
synced 2025-12-03 04:14:46 +00:00
Yes
This commit is contained in:
parent
091d0a0178
commit
bfe4c5c5ed
@ -97,7 +97,7 @@
|
||||
-- Infantry Patrol Settings
|
||||
-- Due to some maps or locations where infantry moving is either not desired or has problems with the terrain you can disable infantry moving patrols.
|
||||
-- Set to false, infantry units will spawn, and never move from their spawn location. This could be considered a defensive position and probably a good idea.
|
||||
local ENABLE_ATTACK_MESSAGES = false -- Enable or disable attack messages when a zone is attacked.
|
||||
local ENABLE_CAPTURE_ZONE_MESSAGES = false -- Enable or disable attack messages when a zone is attacked.
|
||||
local MOVING_INFANTRY_PATROLS = false
|
||||
local ENABLE_WAREHOUSE_MARKERS = true -- Enable or disable the warehouse markers on the map.
|
||||
local UPDATE_MARK_POINTS_SCHED = 60 -- Update the map markers for warehouses every 300 seconds. ENABLE_WAREHOUSE_MARKERS must be set to true for this to work.
|
||||
@ -499,7 +499,7 @@ local function OnZoneAttacked(event)
|
||||
env.info(messageText)
|
||||
|
||||
-- Announce to the player
|
||||
if ENABLE_ATTACK_MESSAGES then
|
||||
if ENABLE_CAPTURE_ZONE_MESSAGES then
|
||||
MESSAGE:New(messageText, 15):ToAll()
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user