So I've been playing with abilities, was wondering if there's a way to get an instant action to be triggered when an ability is. Would OnAbilityUsed do the trick?
Also, today I coded in an ability that prevents Phase Jumping, within the ability's radius, and I was wondering if it's at all possible to apply this buff to ships that are in Phase space (i.e. pull them out early)? I've set numSpaces to apply to Phase as well, but that doesn't appear to be working. As the spoiler tags don't seem to like covering long blocks of text, sorry for huge wall of text.
(From the "self" buff)
numPeriodicActions 1
periodicAction
    actionCountType "Infinite"
    actionIntervalTime
        Level:0 1.000000
        Level:1 1.000000
        Level:2 1.000000
    buffInstantActionType "ApplyBuffToTargetsInRadius"
    instantActionTriggerType "AlwaysPerform"
    buffType "BUFF_DESTABILIZEHYPERSPACETARGET"
    targetFilter
        numOwnerships 2
        ownership "Enemy"
        ownership "Friendly"
        numObjects 2
        object "Frigate"
        object "CapitalShip"
        numSpaces 2
        space "Normal"
        space "Phase"
        numConstraints 0
    range
        Level:0 10000.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 ""
(From the "target" buff)
numInstantActions 2
instantAction
    buffInstantActionType "PlayPersistantAttachedEffect"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    effectInfo
        effectAttachInfo
            attachType "Above"
        smallEffectName "CapitalBuff_IonDisableSmall"
        largeEffectName "CapitalBuff_IonDisableLarge"
        soundID ""
instantAction
    buffInstantActionType "DoInterrupt"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 1
entityBoolModifier "DisablePhaseJump"
numFinishConditions 3
finishCondition
    finishConditionType "OutOfRange"
finishCondition
    finishConditionType "FirstSpawnerNoLongerHasBuff"
    buffTypeToQuery "BUFF_DESTABILIZEHYPERSPACESELF"
finishCondition
    finishConditionType "OwnerChanged"