Initial commit
This commit is contained in:
commit
74162a93be
1366 files changed
+81395
No files matched your search
@@ -0,0 +1,30 @@
|
||||
#****************************************************************************
|
||||
#**
|
||||
#** 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
|
||||
|
||||
FSLONGTOMCANNON = 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 = FSLONGTOMCANNON
|
||||
Reference in new issue
Block a user