Trying to get the dependency on EVENTs solved.
@@ -425,7 +425,7 @@ function EVENT:Init( EventID, EventClass )
|
|||||||
-- Each event has a subtable of EventClasses, ordered by EventPriority.
|
-- Each event has a subtable of EventClasses, ordered by EventPriority.
|
||||||
local EventPriority = EventClass:GetEventPriority()
|
local EventPriority = EventClass:GetEventPriority()
|
||||||
if not self.Events[EventID][EventPriority] then
|
if not self.Events[EventID][EventPriority] then
|
||||||
self.Events[EventID][EventPriority] = setmetatable( {}, { __mode = "k" } )
|
self.Events[EventID][EventPriority] = setmetatable( {}, { __mode = "kv" } )
|
||||||
end
|
end
|
||||||
|
|
||||||
if not self.Events[EventID][EventPriority][EventClass] then
|
if not self.Events[EventID][EventPriority][EventClass] then
|
||||||
|
|||||||
@@ -941,6 +941,9 @@ do -- DETECTION_BASE
|
|||||||
|
|
||||||
DetectedItem.FriendliesNearBy = false
|
DetectedItem.FriendliesNearBy = false
|
||||||
|
|
||||||
|
if DetectedUnit then
|
||||||
|
|
||||||
|
|
||||||
local SphereSearch = {
|
local SphereSearch = {
|
||||||
id = world.VolumeType.SPHERE,
|
id = world.VolumeType.SPHERE,
|
||||||
params = {
|
params = {
|
||||||
@@ -979,7 +982,7 @@ do -- DETECTION_BASE
|
|||||||
end
|
end
|
||||||
|
|
||||||
world.searchObjects( Object.Category.UNIT, SphereSearch, FindNearByFriendlies, ReportGroupData )
|
world.searchObjects( Object.Category.UNIT, SphereSearch, FindNearByFriendlies, ReportGroupData )
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
|
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
|
||||||
env.info( 'Moose Generation Timestamp: 20170317_1239' )
|
env.info( 'Moose Generation Timestamp: 20170317_1402' )
|
||||||
|
|
||||||
local base = _G
|
local base = _G
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
|
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
|
||||||
env.info( 'Moose Generation Timestamp: 20170317_1239' )
|
env.info( 'Moose Generation Timestamp: 20170317_1402' )
|
||||||
|
|
||||||
local base = _G
|
local base = _G
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
|
|||||||
|
|
||||||
local CommandCenter = COMMANDCENTER:New( HQ, "Lima" )
|
local CommandCenter = COMMANDCENTER:New( HQ, "Lima" )
|
||||||
|
|
||||||
local Scoring = SCORING:New( "Detect Demo" )
|
Scoring = SCORING:New( "Detect Demo" )
|
||||||
|
|
||||||
local Mission = MISSION
|
local Mission = MISSION
|
||||||
:New( CommandCenter, "Overlord", "High", "Attack Detect Mission Briefing", coalition.side.RED )
|
:New( CommandCenter, "Overlord", "High", "Attack Detect Mission Briefing", coalition.side.RED )
|
||||||
|
|||||||
|
After Width: | Height: | Size: 202 KiB |
|
After Width: | Height: | Size: 231 KiB |
|
After Width: | Height: | Size: 224 KiB |
|
After Width: | Height: | Size: 170 KiB |
|
After Width: | Height: | Size: 195 KiB |
|
After Width: | Height: | Size: 212 KiB |
|
After Width: | Height: | Size: 200 KiB |
|
After Width: | Height: | Size: 240 KiB |
|
After Width: | Height: | Size: 208 KiB |
|
After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 203 KiB |
|
After Width: | Height: | Size: 223 KiB |
|
After Width: | Height: | Size: 209 KiB |
|
After Width: | Height: | Size: 205 KiB |
|
After Width: | Height: | Size: 248 KiB |
|
After Width: | Height: | Size: 225 KiB |
|
After Width: | Height: | Size: 168 KiB |
|
After Width: | Height: | Size: 251 KiB |