changed suggested lines to ace standards

This commit is contained in:
nomisum 2016-04-02 15:36:21 +02:00
parent e36198561f
commit fed4662884
2 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
class CfgSounds {
class ACE_Fastroping_Rope {
class GVAR(Rope) {
name = "ACE_Fastroping_Rope";
sound[] = {QUOTE(PATHTOF(data\sounds\fastroping_rope.ogg)), db0, 1.0};
sound[] = {QUOTE(PATHTOF(data\sounds\fastroping_rope.ogg)), 10, 1.0};
titles[] = {};
};
class ACE_Fastroping_Thud {
class GVAR(Thud) {
name = "ACE_Fastroping_Thud";
sound[] = {QUOTE(PATHTOF(data\sounds\fastroping_thud.ogg)), db0, 1.0};
sound[] = {QUOTE(PATHTOF(data\sounds\fastroping_thud.ogg)), 10, 1.0};
titles[] = {};
};
};

View File

@ -39,7 +39,7 @@ if (animationState _unit != "ACE_FastRoping") exitWith {
[_idPFH] call CBA_fnc_removePerFrameHandler;
};
playSound "ACE_Fastroping_Rope";
playSound QGVAR(Rope);
}, 1, [_unit]] call CBA_fnc_addPerFrameHandler;
//End of fast rope
@ -47,7 +47,7 @@ if (isNull attachedTo _unit) exitWith {
[_unit, "", 2] call EFUNC(common,doAnimation);
_unit setVectorUp [0, 0, 1];
playSound "ACE_Fastroping_Thud";
playSound QGVAR(Thud);
[_pfhHandle] call CBA_fnc_removePerFrameHandler;
};