ace_dragging_fnc_setDraggable
Description
Enables the object to be dragged.
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Object | OBJECT | |
1 | True to enable dragging, false to disable | BOOL | |
2 | Position offset for attachTo command (optional; default: [0, 1.5, 0]) | ARRAY | |
3 | Direction in degrees to rotate the object after attachTo (optional; default: 0) | NUMBER | |
4 | Override weight limit | BOOL | false |
Return Value
None
Example
[cursorTarget, true, [0, 0, 0], 0, false] call ace_dragging_fnc_setDraggable;
Authors
- commy2
- PiZZADOX
ace_dragging_fnc_setCarryable
Description
Enables the object to be carried.
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Object | OBJECT | |
1 | True to enable carrying, false to disable | BOOL | |
2 | Position offset for attachTo command | ARRAY | [0, 1, 1] |
3 | Direction in degrees to rotate the object after attachTo | NUMBER | 0 |
4 | Override weight limit | BOOL | false |
Return Value
None
Example
[cursorTarget, true, [0, 1, 1], 0, false] call ace_dragging_fnc_setCarryable;
Authors
- commy2
- PiZZADOX