Files
supreme-mech-commander-2/units/FSLONGTOM/FSLONGTOM_Script.lua
T

31 lines
976 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
FSLONGTOM = 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 = FSLONGTOM