hey im trying to make a user controlled interdictor field be editing the coding from warlords SOGE mod.. however i cant seem to get the user toggle ability to work, after doing some reading and making changes ive got the interdictor field to work as it should ive even set it to pull phased mines out of hyperspace.. but i still cant get it to be toggle -able
TXT
entityType "Ability"
buffInstantActionType "ApplyBuffToSelf"
instantActionTriggerType "AlwaysPerform"
buffType "Buff_INTERDICTORFIELDSELF"
effectInfo
effectAttachInfo
attachType "Invalid"
smallEffectName ""
largeEffectName ""
soundID ""
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility FALSE
maxNumLevels 1
levelSourceType "FixedLevel0"
aiUseTime "Invalid"
aiUseTargetCondition "Invalid"
isAutoCastAvailable FALSE
isAutoCastOnByDefault FALSE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
useCostType "Passive"
researchPrerequisites
NumResearchPrerequisites 1
ResearchPrerequisite
Subject "RESEARCH_TECH_3_GRAVITYWELLS"
Level 1
nameStringID "ABILITY_INTERDICTIONFIELD_NAME"
descStringID "ABILITY_INTERDICTIONFIELD_DESC"
hudIcon "HUDICON_ABILITY_HYPERSPACEDISRUPTION"
smallHudIcon "HUDICON_ABILITY_HYPERSPACEDISRUPTION"
infoCardIcon ""
TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeOldBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit 1
allowFirstSpawnerToStack FALSE
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable TRUE
isChannelling TRUE
numInstantActions 0
numPeriodicActions 1
periodicAction
actionCountType "Infinite"
actionIntervalTime
Level:0 2.500000
Level:1 0.000000
Level:2 0.000000
buffInstantActionType "ApplyBuffToTargetsInRadius"
instantActionTriggerType "AlwaysPerform"
buffType "BUFF_INTERDICTORFIELDTARGET"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 3
object "CapitalShip"
object "Frigate"
object "SpaceMine"
numSpaces 2
space "Normal"
space "Phase"
numConstraints 0
range
Level:0 27000.000000
Level:1 0.000000
Level:2 0.000000
maxTargetCount
Level:0 -1.000000
Level:1 -1.000000
Level:2 -1.000000
effectInfo
effectAttachInfo
attachType "Invalid"
smallEffectName ""
largeEffectName ""
soundID ""
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
finishConditionType "OwnerChanged"