mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
24 lines
408 B
Plaintext
24 lines
408 B
Plaintext
|
/*
|
||
|
* Author: Jonpas
|
||
|
* Stands up the player.
|
||
|
*
|
||
|
* Arguments:
|
||
|
* Player <OBJECT>
|
||
|
*
|
||
|
* Return Value:
|
||
|
* None
|
||
|
*
|
||
|
* Example:
|
||
|
* player call ace_sitting_fnc_stand;
|
||
|
*
|
||
|
* Public: No
|
||
|
*/
|
||
|
#include "script_component.hpp"
|
||
|
|
||
|
// Restore animation
|
||
|
[_this, "", 2] call EFUNC(common,doAnimation);
|
||
|
|
||
|
// Set variables to nil
|
||
|
_this setVariable [QGVAR(sitting), nil];
|
||
|
GVAR(seat) setVariable [QGVAR(seatOccupied), nil, true];
|