Okay... what I want is once I get Sneak Attack Tunnel on the field, I want to select it, and then spawn another sneak attack tunnel from it's commandset. Sounds simple, right? For some reason I can't get this to work. What am I missing
Object GLASneakAttackTunnelNetwork
Code:
Behavior = OCLSpecialPower ModuleTag_29
SpecialPowerTemplate = SuperweaponSneakAttack2
OCL = OCL_CreateSneakAttackTunnelStart
ReferenceObject = GLASneakAttackTunnelNetwork
CreateLocation = CREATE_AT_LOCATION
End
SpecialPower
Code:
SpecialPower SuperweaponSneakAttack2
Enum = SPECIAL_SCUD_STORM
ReloadTime = 150000 ; in milliseconds
; RequiredScience = SCIENCE_SneakAttack
PublicTimer = No
InitiateAtLocationSound = SneakAttackActivated
SharedSyncedTimer = Yes
RadiusCursorRadius = 50
ShortcutPower = Yes ;Capable of being fired by the side-bar shortcut.
AcademyClassify = ACT_SUPERPOWER ;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End
OCL
Didn't touch anything here. I used what the original sneak attack tunnel uses...:
Code:
ObjectCreationList OCL_CreateSneakAttackTunnelStart
CreateObject
ObjectNames = GLASneakAttackTunnelNetworkStart
Disposition = LIKE_EXISTING
End
End
ObjectCreationList OCL_CreateSneakAttackTunnel
CreateObject
ObjectNames = GLASneakAttackTunnelNetwork
Disposition = LIKE_EXISTING
End
End
CommandButton
Code:
CommandButton Command_SneakAttack2
Command = SPECIAL_POWER_CONSTRUCT
SpecialPower = SuperweaponSneakAttack2
Options = NEED_SPECIAL_POWER_SCIENCE
Object = GLASneakAttackTunnelNetwork
TextLabel = CONTROLBAR:SneakAttack
ButtonImage = SUSneakAttack
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipGLASneakAttack
End
Obviously, I put the spawn second sneak attack button it in the commandset of the original sneak attack tunnel...
Here is what I get in-game.
I create the first Sneak Tunnel. I click on it, then click on create sneak tunnel in it's commandset. I hover the mouse on the battlefield. I see the transparent sneak tunnel structure. Once I click it, an

d let go of the button, nothing happens though. The tunnel is not created. why?