Explosives - Add ability to attach explosives to objects#11307
Explosives - Add ability to attach explosives to objects#11307DartRuffian wants to merge 10 commits intoacemod:masterfrom
Conversation
LinkIsGrim
left a comment
There was a problem hiding this comment.
SLAMs, demo black might good for object attachable as well
|
I was gonna do the SLAM but it's rotated 90 degrees so I just left it off |
|
2026-03-10.11-52-50.mp4 |
|
|
|
Name was changed to make it clearer, I'm happy with it now |
There was a problem hiding this comment.
Is there a reason not to use https://cbateam.github.io/CBA_A3/docs/files/common/fnc_isTerrainObject-sqf.html instead? I'd prefer to not add a public function if we can avoid it.
There was a problem hiding this comment.
I didn't know it existed, and seemed like common enough utility to just make it a public function
There was a problem hiding this comment.
Just checked the CBA one, it's doing a nearestTerrainObjects so its decently slower than just checking net id:
player call CBA_fnc_isTerrainObject; // Execution Time: 0.0041 ms | Cycles: 10000/10000 | Total Time: 41 ms
player call ace_common_fnc_isTerrainObject; // Execution Time: 0.0037 ms | Cycles: 10000/10000 | Total Time: 37 msI'll swap it to the CBA one, and PR changing the CBA one to check net id
There was a problem hiding this comment.
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
When merged this pull request will:
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}.