Files
supreme-mech-commander-2/units/LALONGTOMCANNON/LALONGTOMCANNON_Script.lua
T
2026-09-18 05:35:15 -04:00

30 lines
963 B
Lua

#****************************************************************************
#**
#** File : /cdimage/units/UEB2303/UEB2303_script.lua
#** Author(s): John Comes, David Tomandl, Jessica St. Croix
#**
#** Summary : Federated Suns Longtom Artillery
#**
#** Copyright © 2005 Gas Powered Games, Inc. All rights reserved.
#****************************************************************************
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
local TIFArtilleryWeapon = import('/lua/terranweapons.lua').TIFArtilleryWeapon
LALONGTOMCANNON = Class(TStructureUnit) {
OnStopBeingBuilt = function(self,builder,layer)
TStructureUnit.OnStopBeingBuilt(self,builder,layer)
local bp = self:GetBlueprint()
if bp.Audio.Activate then
self:PlaySound(bp.Audio.Activate)
end
end,
Weapons = {
MainGun = Class(TIFArtilleryWeapon) {
},
},
}
TypeClass = LALONGTOMCANNON