mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix undefined variable, synch splat direction correctly
This commit is contained in:
parent
70512db0e3
commit
a2805fad53
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user