View Single Post
Old 09-06-2004, 01:59 PM   #1 (permalink)
Hostile
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default Rebel ambush coding error

Well I coded in the rebel ambush for Iran. Copy and paste of course, than changed the Spawn to a variety of units as per Sleipnir. Well all the icon appear correctly and they select correctly and earned correctly but when I go to place the ambush at any tier there is the circle with a line through it. Same cursor like when you try to move something where it can't go.

Anyone seen this. Here is the spawned units cause that will be the next question. Assume all prerequisites are met so that is not the issue. As are all units referenced too also present and verified.

;==============================Terror Cell====================
ObjectCreationList SUPERWEAPON_TerrorIranAmbush1
CreateObject
ObjectNames = Iran_Stl_InfantryRebel
Count = 2
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = Iran_Stl_InfantryTerrorist
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End

End

; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_TerrorIranAmbush2
CreateObject
ObjectNames = Iran_Stl_InfantryRebel
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = Iran_Stl_InfantryTerrorist
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = IranInfantrySaboteur
Count = 2
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = IranInfantryHijacker
Count = 2
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
End

; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_TerrorIRanAmbush3
CreateObject
ObjectNames = Iran_Stl_InfantryRebel
Count = 6
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = Iran_Stl_InfantryTerrorist
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = IranInfantrySaboteur
Count = 2
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = IranInfantryHijacker
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
; CreateObject
; ObjectNames = IranInfantryJarmenKell
; Count = 1
; SpreadFormation = Yes
; MinDistanceAFormation = 20.0
; MinDistanceBFormation = 30.0
; MaxDistanceFormation = 400.0
; FadeIn = Yes
; FadeTime = 3000
; DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
; End
End
Hostile is offline   Reply With Quote