vblx import of custom objects

This commit is contained in:
Aaron Clark
2012-11-05 18:34:38 -06:00
parent 5a5ac0f867
commit f8681b1b5a
50 changed files with 549 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ _itemChance = [] + getArray (_config >> "itemChance");
{
private["_iPos2"];
_iPos2 = _obj modelToWorld _x;
_rnd = random 1;
_rnd = random 3;
//Place something at each position
if (player distance _iPos2 > 5) then {
if (_rnd < _lootChance) then {