rename spawnBlood to createBlood for consistency

This commit is contained in:
commy2 2016-09-19 11:21:05 +02:00
parent 26caafdab3
commit 0cf6094875
4 changed files with 5 additions and 5 deletions

View File

@ -3,5 +3,5 @@
PREP(hit);
PREP(isBleeding);
PREP(onBleeding);
PREP(spawnBlood);
PREP(createBlood);
PREP(spurt);

View File

@ -10,7 +10,7 @@
* Created blood drop <OBJECT>
*
* Example:
* ["ACE_Blooddrop_2", getPos player] call ace_medical_blood_fnc_spawnBlood
* ["ACE_Blooddrop_2", getPos player] call ace_medical_blood_fnc_createBlood
*
* Public: No
*/

View File

@ -30,5 +30,5 @@ if (((CBA_missionTime - _lastTime) + _bloodLoss) >= (8 + random(2))) then {
_position set [2, 0];
private _bloodDrop = ["ACE_Blooddrop_1", "ACE_Blooddrop_2", "ACE_Blooddrop_3", "ACE_Blooddrop_4"] select (floor (_bloodLoss max 3));
[_bloodDrop, _position, getDir _unit] call FUNC(spawnBlood);
[_bloodDrop, _position, getDir _unit] call FUNC(createBlood);
};

View File

@ -33,7 +33,7 @@ private _cosDir = cos _dir;
_pos params ["_x", "_y"];
private _bloodPos = [_x + (_sinDir * _offSet), _y + (_cosDir * _offSet), 0];
["ACE_Blooddrop_2", _bloodPos, _dir] call FUNC(spawnBlood);
["ACE_Blooddrop_2", _bloodPos, _dir] call FUNC(createBlood);
if (ceil (MAXIMUM_DROPS * _damage) > 1) then {
private _sin = _sinDir * _distanceBetweenDrops;
@ -42,6 +42,6 @@ if (ceil (MAXIMUM_DROPS * _damage) > 1) then {
for "_i" from 2 to _c do {
_bloodPos params ["_x", "_y"];
_bloodPos = [_x + _sin, _y + _cos, 0];
["ACE_Blooddrop_1", _bloodPos, _dir] call FUNC(spawnBlood);
["ACE_Blooddrop_1", _bloodPos, _dir] call FUNC(createBlood);
};
};