Created
April 26, 2018 08:35
-
-
Save vabene1111/3f7520b4170d38e875e2b9a082a87886 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private _sitPosition = [-0.820113,-0.13,-0.5]; | |
_seat = test; | |
[player, call acex_sitting_fnc_getRandomAnimation, 2] call ace_common_fnc_doAnimation; | |
[player, "", 1] call ace_common_fnc_doAnimation; | |
player setDir (getDir _seat) + 180; | |
player setPosASL (AGLtoASL (_seat modelToWorld _sitPosition)); | |
player setVariable ["acex_sitting_isSitting", [_seat, 1]]; | |
player setVariable ["acex_sitting_seatPos", 1]; | |
_seat setVariable [format["%1%2","acex_sitting_pos_",1],true,true]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment