31 lines
988 B
Lua
31 lines
988 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
|