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 | false |
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 |
5 | Apply globally | BOOL | false |
Return Value
None
Example
[cursorTarget, true, [0, 1, 1], 0, false] call ace_dragging_fnc_setCarryable
Authors
- commy2
- PiZZADOX
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 | false |
2 | Position offset for attachTo command | ARRAY | [0, 1.5, 0] |
3 | Direction in degrees to rotate the object after attachTo | NUMBER | 0 |
4 | Override weight limit | BOOL | false |
5 | Apply globally | BOOL | false |
Return Value
None
Example
[cursorTarget, true, [0, 0, 0], 0, false] call ace_dragging_fnc_setDraggable
Authors
- commy2
- PiZZADOX