Closed madrabbit711 closed 4 years ago
bases.lua calls logisticsManager.lua during:
bases.lua
logisticsManager.lua
To spawn logistics centre static object at Trigger Zones containing "logistics".
Need to intercept spawning location during setup/resupply here: https://github.com/ModernColdWar/RedStormRising/blob/3bb91b4518ff8f7405bef7b76f40887302962846/logisticsManager.lua#L14
And also intercept here during FOB crate unpack by player here: https://github.com/ModernColdWar/RedStormRising/blob/3bb91b4518ff8f7405bef7b76f40887302962846/CTLD.lua#L2530 _args[1] = point to spawn logistics building based on crate position
_args[1]
Done for mission init but need to incorporate into new base repair function: https://github.com/ModernColdWar/RedStormRising/blob/90200326186f2ef87a03b0fd85c9d347debe7d6f/logisticsManager.lua#L19-L23
https://github.com/ModernColdWar/RedStormRising/blob/0f2b354af786dc70e1890b05b63f46f49e4873fe/logisticsManager.lua#L27-L34
bases.lua
callslogisticsManager.lua
during:To spawn logistics centre static object at Trigger Zones containing "logistics".
Need to intercept spawning location during setup/resupply here: https://github.com/ModernColdWar/RedStormRising/blob/3bb91b4518ff8f7405bef7b76f40887302962846/logisticsManager.lua#L14
And also intercept here during FOB crate unpack by player here: https://github.com/ModernColdWar/RedStormRising/blob/3bb91b4518ff8f7405bef7b76f40887302962846/CTLD.lua#L2530
_args[1]
= point to spawn logistics building based on crate position