fix undefined variable, synch splat direction correctly

This commit is contained in:
commy2 2016-09-19 14:38:47 +02:00
parent 70512db0e3
commit a2805fad53
2 changed files with 3 additions and 3 deletions

View File

@ -25,8 +25,8 @@ if (_p3dFile == "") exitWith {};
if ((_p3dFile select [0,1]) == "\") then {_p3dFile = _p3dFile select [1];};
private _object = createSimpleObject [_p3dFile, [0,0,0]];
_object setDir random 360;
_object setPos _pos;
_object setDir (random 360);
[QGVAR(bloodDropCreated), [_object]] call CBA_fnc_serverEvent;

View File

@ -35,7 +35,7 @@ if (_dropAmount > 1) then {
private _cos = _cosDir * _distanceBetweenDrops;
for "_i" from 2 to _dropAmount do {
_pos = _bloodPos getPos [_offset, _dir];
["ACE_Blooddrop_1", _bloodPos, _dir] call FUNC(createBlood);
_pos = _pos getPos [_offset, _dir];
["ACE_Blooddrop_1", _pos, _dir] call FUNC(createBlood);
};
};