mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
simplify getRandomAnimation in sitting
This commit is contained in:
parent
ff4406e411
commit
caa5585044
@ -17,8 +17,8 @@
|
||||
|
||||
private "_animations";
|
||||
|
||||
// Animations Pool
|
||||
_animations = [
|
||||
// Select random animation from Animations Pool
|
||||
selectRandom [
|
||||
QGVAR(HubSittingChairA_idle1),
|
||||
QGVAR(HubSittingChairA_idle2),
|
||||
QGVAR(HubSittingChairA_idle3),
|
||||
@ -43,7 +43,4 @@ _animations = [
|
||||
QGVAR(HubSittingChairUC_idle2),
|
||||
QGVAR(HubSittingChairUC_idle3),
|
||||
QGVAR(HubSittingChairUC_move1)
|
||||
];
|
||||
|
||||
// Select random animation
|
||||
selectRandom _animations
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user