Syntax Error?

Thanks to the advice I recieved here and a little effort on my part, the bulk of my mod is functioning perfectly.  One file, however, refuses to cooperate.  I have been trying, and failing, to change the Subjugator's abilities to AoEs.  I've successfully converted Perseverance, but Suppression incessantly spawns minidumps.  I've looked at the error messages, and have noted that they refer to a specific line five times.  This line is variously listed as line 25, 26, 27, etc.  Furthermore, it states that lines that are present below that one are not present (it's telling me that I neglected to put in numPeriodicActions, numOverTimeActions, and such, though they do exist.)  I believe that an error on my part is preventing the game from reading any further than that particular line.  I'm also getting this message:

Failed to convert '' to an enum value.

This is what I have:

entityType "Buff"
onReapplyDuplicateType "PrioritizeNewBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit 1
allowFirstSpawnerToStack FALSE
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable TRUE
isChannelling TRUE
numInstantActions 2
instantAction
 buffInstantActionType "PlayPersistantAttachedEffect"
 instantActionTriggerType "OnDelay"
 delayTime 0.000000
 effectInfo
  effectAttachInfo
   attachType "Ability"
   abilityIndex 0
  smallEffectName "Buff_SuppressionChanneling"
  largeEffectName "Buff_SuppressionChanneling"
  soundID ""
instantAction
 buffInstantActionType ""ApplyBuffToTargetsInRadius"
 instantActionTriggerType "OnDelay"
 delayTime 0.000000
 buffType "BuffSuppressionTarget"
 targetFilter
  numOwnerships 1
  ownership "Enemy"
  numobjects 1
  object "Frigate"
  numSpaces 1
  space "Normal"
 range
  Level:0 5000.000000
  Level:1 0.000000
  Level:2 0.000000
 maxTargetCount
  Level:0 -1.000000
  Level:1 0.000000
  Level:2 0.000000
 effectInfo
  effectAttachInfo
   attachType "Invalid"
  smallEffectName ""
  largeEffectName ""
  soundID ""
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 4
finishCondition
 finishConditionType "TimeElapsed"
 time
  Level:0 90.000000
  Level:1 0.000000
  Level:2 0.000000
finishCondition
 finishConditionType "NoTarget"
finishCondition
 finishConditionType "OwnerChanged"
finishCondition
 finishConditionType "TargetOwnerIsFriendly"

Any advice?

2,471 views 2 replies
Reply #1 Top

""ApplyBuffToTargetsInRadius"

or rather you have a second " 

additionally,  

numobjects 1

should be

numObjects 1