mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
4214e31678
- From #3635 - FUNC(playSignal) needs "BIgesture" prefix - Interaction conditions are checked on parent, don't need on every child
116 lines
4.7 KiB
C++
116 lines
4.7 KiB
C++
class CfgVehicles {
|
|
|
|
class Man;
|
|
class CAManBase: Man {
|
|
class ACE_SelfActions {
|
|
class ADDON {
|
|
displayName = CSTRING(Gestures);
|
|
condition = QUOTE((canStand _target) && GVAR(ReloadMutex) && {GVAR(showOnInteractionMenu) == 2});
|
|
statement = "";
|
|
showDisabled = 1;
|
|
priority = 3.5;
|
|
icon = PATHTOF(UI\gestures_ca.paa);
|
|
|
|
class GVAR(Advance) {
|
|
displayName = CSTRING(Advance);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(_target playActionNow 'gestureAdvance';);
|
|
showDisabled = 1;
|
|
priority = 1.9;
|
|
};
|
|
class GVAR(Go) {
|
|
displayName = CSTRING(Go);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(_target playActionNow ([ARR_2('gestureGo','gestureGoB')] select floor random 2););
|
|
showDisabled = 1;
|
|
priority = 1.8;
|
|
};
|
|
class GVAR(Follow) {
|
|
displayName = CSTRING(Follow);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(_target playActionNow 'gestureFollow';);
|
|
showDisabled = 1;
|
|
priority = 1.7;
|
|
};
|
|
class GVAR(Up) {
|
|
displayName = CSTRING(Up);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(_target playActionNow 'gestureUp';);
|
|
showDisabled = 1;
|
|
priority = 1.5;
|
|
};
|
|
class GVAR(CeaseFire) {
|
|
displayName = CSTRING(CeaseFire);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(_target playActionNow 'gestureCeaseFire';);
|
|
showDisabled = 1;
|
|
priority = 1.3;
|
|
};
|
|
class GVAR(Stop) {
|
|
displayName = CSTRING(Stop);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(_target playActionNow 'gestureFreeze';); // BI animation - is actualls "stop" in all stances but prone
|
|
showDisabled = 1;
|
|
priority = 1.2;
|
|
};
|
|
class GVAR(Forward) {
|
|
displayName = CSTRING(Forward);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(QUOTE(QGVAR(forward)) call FUNC(playSignal));
|
|
showDisabled = 1;
|
|
priority = 1.9;
|
|
};
|
|
class GVAR(Regroup) {
|
|
displayName = CSTRING(Regroup);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(QUOTE(QGVAR(regroup)) call FUNC(playSignal));
|
|
showDisabled = 1;
|
|
priority = 1.8;
|
|
};
|
|
class GVAR(Freeze) {
|
|
displayName = CSTRING(Freeze);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(QUOTE(QGVAR(freeze)) call FUNC(playSignal));
|
|
showDisabled = 1;
|
|
priority = 1.7;
|
|
};
|
|
class GVAR(Cover) {
|
|
displayName = CSTRING(Cover);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(QUOTE(QGVAR(cover)) call FUNC(playSignal));
|
|
showDisabled = 1;
|
|
priority = 1.6;
|
|
};
|
|
class GVAR(Point) {
|
|
displayName = CSTRING(Point);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(QUOTE(QGVAR(point)) call FUNC(playSignal));
|
|
showDisabled = 1;
|
|
priority = 1.5;
|
|
};
|
|
class GVAR(Engage) {
|
|
displayName = CSTRING(Engage);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(QUOTE(QGVAR(engage)) call FUNC(playSignal));
|
|
showDisabled = 1;
|
|
priority = 1.4;
|
|
};
|
|
class GVAR(Hold) {
|
|
displayName = CSTRING(Hold);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(QUOTE(QGVAR(hold)) call FUNC(playSignal));
|
|
showDisabled = 1;
|
|
priority = 1.3;
|
|
};
|
|
class GVAR(Warning) {
|
|
displayName = CSTRING(Warning);
|
|
condition = QUOTE(true);
|
|
statement = QUOTE(QUOTE(QGVAR(warning)) call FUNC(playSignal));
|
|
showDisabled = 1;
|
|
priority = 1.2;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|