mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
AmmoObj position
This commit is contained in:
parent
c8892e9c99
commit
97898e9faa
Binary file not shown.
@ -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}];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user