mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Clarified variable names
This commit is contained in:
parent
370f1ce67f
commit
42832aa95c
@ -94,14 +94,14 @@ private _fragSpawnType = switch (true) do
|
||||
private _shotParent = getShotParents _projectile;
|
||||
|
||||
//***** Spawn spalled fragments
|
||||
private _fragSpawner = createVehicleLocal [_fragSpawnType, ASLToATL _spallPos, [], 0, "CAN_COLLIDE"];
|
||||
_fragSpawner setVectorDirandUp [vectorDir _projectile, vectorUp _projectile];
|
||||
_fragSpawner setVelocity _lVelUnit;
|
||||
_fragSpawner setShotParents _shotParent;
|
||||
private _spallSpawner = createVehicleLocal [_fragSpawnType, ASLToATL _spallPos, [], 0, "CAN_COLLIDE"];
|
||||
_spallSpawner setVectorDirandUp [vectorDir _projectile, vectorUp _projectile];
|
||||
_spallSpawner setVelocity _lVelUnit;
|
||||
_spallSpawner setShotParents _shotParent;
|
||||
|
||||
#ifdef DEBUG_MODE_FULL
|
||||
systemChat ("bSpd: " + str speed _fragSpawner + ", frag: " + _fragSpawnType + ", dm: " + str _deltaMomentum);
|
||||
_fragSpawner addEventHandler [
|
||||
systemChat ("bSpd: " + str speed _spallSpawner + ", frag: " + _fragSpawnType + ", dm: " + str _deltaMomentum);
|
||||
_spallSpawner addEventHandler [
|
||||
"SubmunitionCreated",
|
||||
{
|
||||
params ["", "_subProj"];
|
||||
|
Loading…
Reference in New Issue
Block a user