AmmoObj position

This commit is contained in:
He-Man 2019-10-26 21:48:12 +02:00
parent c8892e9c99
commit 97898e9faa
2 changed files with 2 additions and 2 deletions

View File

@ -140,9 +140,9 @@ for "_i" from 0 to _this do {
_ammoObj setposworld _pos; _ammoObj setposworld _pos;
} }
else { else {
_ammoObj setposATL _location; _ammoObj setposATL _pos;
}; };
_ammoObj setVectorDirAndUp _vectordirup; _ammoObj setVectorDirAndUp _vectordirup;
_baseObj setVariable ["EPOCH_TRAP_OBJ",_ammoObj]; _baseObj setVariable ["EPOCH_TRAP_OBJ",_ammoObj];
_baseObj addEventHandler ["Explosion", {(_this select 0) setDamage 1}]; _baseObj addEventHandler ["Explosion", {(_this select 0) setDamage 1}];
}; };