Description
Description
Details
Details
- Severity
- Feature
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 11 x64
- Category
- Scripting
Steps To Reproduce
Select a trigger and execute:
get3DENSelected "Trigger" #0 addEventHandler ["Dragged3DEN", { params ["_object"]; }];
Notice how it returns -1.
Event Timeline
Comment Actions
True. That is because Triggers themselves don't have a eventhandler collection on them.
These Eden events re-use the event handling already present on objects.
Its not really worth it to add it just for that, and also as you said wouldn't work on Markers either.
Workaround is available though
https://community.bistudio.com/wiki/Arma_3:_Eden_Editor_Event_Handlers
All the entity specific events should also be available as global ones?
You might have to filter the entity.
Might be worth noting that on wiki too