2015-06-07 20:00:43 +00:00
|
|
|
/*
|
|
|
|
* Author: Jonpas
|
|
|
|
* Gets a random animations from the list.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* Random Animation <STRING>
|
|
|
|
*
|
|
|
|
* Example:
|
2015-08-07 13:12:24 +00:00
|
|
|
* _animation = call ace_sitting_fnc_getRandomAnimation
|
2015-06-07 20:00:43 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-11-29 15:50:08 +00:00
|
|
|
// Select random animation from Animations Pool
|
|
|
|
selectRandom [
|
2015-08-08 00:13:14 +00:00
|
|
|
QGVAR(HubSittingChairA_idle1),
|
|
|
|
QGVAR(HubSittingChairA_idle2),
|
|
|
|
QGVAR(HubSittingChairA_idle3),
|
|
|
|
QGVAR(HubSittingChairA_move1),
|
|
|
|
QGVAR(HubSittingChairB_idle1),
|
|
|
|
QGVAR(HubSittingChairB_idle2),
|
|
|
|
QGVAR(HubSittingChairB_idle3),
|
|
|
|
QGVAR(HubSittingChairB_move1),
|
|
|
|
QGVAR(HubSittingChairC_idle1),
|
|
|
|
QGVAR(HubSittingChairC_idle2),
|
|
|
|
QGVAR(HubSittingChairC_idle3),
|
|
|
|
QGVAR(HubSittingChairC_move1),
|
|
|
|
QGVAR(HubSittingChairUA_idle1),
|
|
|
|
QGVAR(HubSittingChairUA_idle2),
|
|
|
|
QGVAR(HubSittingChairUA_idle3),
|
|
|
|
QGVAR(HubSittingChairUA_move1),
|
|
|
|
QGVAR(HubSittingChairUB_idle1),
|
|
|
|
QGVAR(HubSittingChairUB_idle2),
|
|
|
|
QGVAR(HubSittingChairUB_idle3),
|
|
|
|
QGVAR(HubSittingChairUB_move1),
|
|
|
|
QGVAR(HubSittingChairUC_idle1),
|
|
|
|
QGVAR(HubSittingChairUC_idle2),
|
|
|
|
QGVAR(HubSittingChairUC_idle3),
|
|
|
|
QGVAR(HubSittingChairUC_move1)
|
2015-11-29 15:50:08 +00:00
|
|
|
]
|