mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-25 22:39:08 +00:00
Mortar/Missile reload changes
This commit is contained in:
parent
a50899cdf9
commit
e93efa685c
4 changed files with 1701 additions and 21 deletions
16
Classic/scripts/autoexec/TacoOverrides.cs
Executable file → Normal file
16
Classic/scripts/autoexec/TacoOverrides.cs
Executable file → Normal file
|
|
@ -324,15 +324,15 @@ function serverCmdScopeCommanderMap(%client, %scope)
|
|||
}
|
||||
|
||||
//Mortar Throw Reload Fix
|
||||
function ShapeBase::throwWeapon(%this)
|
||||
{
|
||||
if((%this.getMountedImage($WeaponSlot).getName() $= "MortarImage" || %this.getMountedImage($WeaponSlot).getName() $= "MissileLauncherImage" || %this.getMountedImage($WeaponSlot).getName() $= "ShockLanceImage") &&
|
||||
(%this.getImageState($WeaponSlot) $= "Reload" || %this.getImageState($WeaponSlot) $= "Fire")){
|
||||
return;
|
||||
}
|
||||
// function ShapeBase::throwWeapon(%this)
|
||||
// {
|
||||
// if((%this.getMountedImage($WeaponSlot).getName() $= "MortarImage" || %this.getMountedImage($WeaponSlot).getName() $= "MissileLauncherImage" || %this.getMountedImage($WeaponSlot).getName() $= "ShockLanceImage") &&
|
||||
// (%this.getImageState($WeaponSlot) $= "Reload" || %this.getImageState($WeaponSlot) $= "Fire")){
|
||||
// return;
|
||||
// }
|
||||
|
||||
parent::throwWeapon(%this);
|
||||
}
|
||||
// parent::throwWeapon(%this);
|
||||
// }
|
||||
|
||||
|
||||
// Added object check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue