I've asked a few people and they have no idea and I don't know what to do with this trigger to stop it.
Code:
function Trig_Scope_Fade_Filter_Conditions takes nothing returns boolean
return ( GetSpellAbilityId() == 'A01O' )
endfunction
function Trig_Scope_Fade_Filter_Actions takes nothing returns nothing
if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
call CinematicFilterGenericBJ( 0.20, BLEND_MODE_BLEND, "ReplaceableTextures\\CameraMasks\\Scope_Mask.blp", 0.00, 0.00, 0.00, 100.00, 0, 0, 0, 0.00 )
call TriggerSleepAction( 5.00 )
call CinematicFilterGenericBJ( 0.20, BLEND_MODE_BLEND, "ReplaceableTextures\\CameraMasks\\Scope_Mask.blp", 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 100.00 )
endif
endfunction
//===========================================================================
function InitTrig_Scope_Fade_Filter takes nothing returns nothing
local trigger t = CreateTrigger()
call TriggerRegisterAnyUnitEventBJ( t, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( t, Condition( function Trig_Scope_Fade_Filter_Conditions ) )
call TriggerAddAction( t, function Trig_Scope_Fade_Filter_Actions )
set t = null
endfunction