I tried using this command on some objects at Air Base, I was able to delete hangars, control tower, halogen lamps but not the cargo containers, flat concrete walls and sandbag walls.
{F19896} {F19897} {F19898} {F19899} {F19900} {F19901}
Description
Description
Details
Details
- Legacy ID
- 2508741785
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
See attached screenshots and test mission.
The tested object IDs are 124747 (hangar), 124858 (container).
Event Timeline
Comment Actions
This also applies when you try to hide a laser designator target, it worked fine in Arma 2.
Comment Actions
I tried again in v1.44 on object 64340 (H barrier on Stratis) and it didn't work.
I tried following commands:
hideObject (position player nearestObject 64340)
hideObjectGlobal (position player nearestObject 64340)
Comment Actions
When all else fails, try the deleteCollection command. https://community.bistudio.com/wiki/deleteCollection