TryInitCinematicBehaviorBJ
- comment
- patch
1.00
- Source
- Blizzard.j
- return type
nothing
- Source code
function TryInitCinematicBehaviorBJ takes nothing returns nothing local integer index if (bj_cineSceneBeingSkipped == null) then set bj_cineSceneBeingSkipped = CreateTrigger() set index = 0 loop call TriggerRegisterPlayerEvent(bj_cineSceneBeingSkipped, Player(index), EVENT_PLAYER_END_CINEMATIC) set index = index + 1 exitwhen index == bj_MAX_PLAYERS endloop call TriggerAddAction(bj_cineSceneBeingSkipped, function CancelCineSceneBJ) endif endfunction