Jagohu Posted October 13, 2020 Posted October 13, 2020 OpenBETA 2.5.6.55960: Oil rig generates an error message when hit (with 4*Mk84): https://drive.google.com/file/d/1GEEOzj9WCUHl1K9FLiibD9pj9FdFVcS6/view?usp=sharing Oil rigs and Gas platforms sometimes have their respective type reflected on the F10 map (Oil rig/Gas platform with the Heliport frequency - normal behaviour) or without any additional data(freq, callsign, heading) their TYPE is ZIL_KUNG_P1. Gas platform OK Gas platform ZIL_KUNG_P1 Oil rig OK Oil rig after StaticObject.getByName([name]):destroy() When removed with ie. StaticObject.getByName('Static Oil rig-3'):destroy() or Unit.getByName('Static Oil rig-3'):destroy() it only removes their label from the F10 map, but doesn't remove them from neither the scenery, nor the map (so most importantly not from the memory). After removal their TYPE is always changed to ZIL_KUNG_P1.
Jagohu Posted November 4, 2020 Author Posted November 4, 2020 Additionally, when the type of any of these objects (Gas or Oil rig) requested, it returns as if the object didn't exist, while it it's position is requested it works fine. local pos = StaticObject.getByName(staticname):getPoint() -- WORKS local typename = StaticObject.getByName(staticname):getTypeName() -- returns object doesn't exist
Jagohu Posted September 7, 2021 Author Posted September 7, 2021 Still there with 2.7. Could it be fixed at some point?
LFCChameleon_Silk Posted April 22, 2022 Posted April 22, 2022 bump, ED really needs to fix the issues with it not correctly assigning airdrome ID, spawning and destroying these objects and the other outstanding issues surrounding spawning of statics with heliports.
Flappie Posted August 11, 2022 Posted August 11, 2022 @Jagohu I've just tried what you described in the OP nearly two years ago: destroy() still won't remove F10 icons nor scenery. -> I'll report this. I got no error message popup. Unit types were OK (in F10 view and through getTypeName() function). If issues 2 and 3 are still existing, can you please share a short track to demonstrate? ---
Jagohu Posted August 28, 2022 Author Posted August 28, 2022 @Flappie Thanks for picking this up. 1. If it's destroyed with bombs it removes the F10 icons now, but not the object from the scenery. This bit should be fixed, thanks for reporting it! 2. Indeed that bit seems ok. 3. Types are OK indeed 4. It still has a radio transmitter on 127.5 OIBA fixed according to the F10 CALLSIGN field. It can't be modified through ME, but at least it's not showing up anymore even in Easy Comms which is good! 1
Recommended Posts