menim Posted May 14, 2021 Posted May 14, 2021 Am I correct in thinking there is no script access to the Resource Management? Even read-only? Are there ways to interact with the Resource Management through unit spawning/despawning? If not, what is the intention behind the Resource Management system, beyond the restriction of player loadouts?
Gronank Posted May 14, 2021 Posted May 14, 2021 You can view the start state of warehouses with env.warehouses (you get the table from the warehouses file when you open the mission as a zip). Yes, it is not particularly useful in any practical sense. 1
menim Posted May 14, 2021 Author Posted May 14, 2021 Thanks. I'll have a play. Still can't find it in the docs. Where's the place to look?
Gronank Posted May 14, 2021 Posted May 14, 2021 Not documented anywhere as fas I can tell. I found it searching for hidden stuff by iterating through the different objects and outputting the results. 1
menim Posted May 15, 2021 Author Posted May 15, 2021 Brilliant, but kinda sad for ED too... Any more hidden gems you unearthed?
Habu_69 Posted May 15, 2021 Posted May 15, 2021 MOOSE has a Warehouse module that might address your needs.
Gronank Posted May 15, 2021 Posted May 15, 2021 12 hours ago, menim said: Any more hidden gems you unearthed? There are some secret stuff related to embarking and disembarking units from helicopters, but I haven't investigated further so I don't know if one could actually use these in scripts. They're used by the RadioCommandDialogsPanel.lua file though.
Recommended Posts