Announcement

Collapse
No announcement yet.

Obj "Swift FileName" has no handler for GFxAction_CloseMovie_#

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Obj "Swift FileName" has no handler for GFxAction_CloseMovie_#

    Hello guys, I hope you're still active using UDK after releasing UE4 for free.
    As you can see, I have an error whenever the kismet executes the close gfx.
    I also have an error on my bots which has the same problem as this one. So if I fixed this I think I'll be hitting two birds on one stone, if I could fix this.

    I think the problem is whenever the script is finished, it is still working and needs to "destruct". The problem is I don't know if I am right, and if yes how can I destruct the function?

    Here is my kismet screenshot.


    PS: I know only a little in uScript. So please if there's a method you know in kismet I would really appreciate it.

    #2
    I don't see where you are assigning the movie player ref to the swiftfile1obj.

    copy/paste this code directly into the kismet window to provide 2 ways of assigning the ref to the var.

    Code:
    Begin Object Class=SeqAct_SetObject Name=SeqAct_SetObject_1
       InputLinks(0)=(DrawY=210,OverrideDelta=11)
       OutputLinks(0)=(DrawY=210,OverrideDelta=11)
       VariableLinks(0)=(LinkedVariables=(SeqVar_Object'SeqVar_Object_2'),DrawX=1138,OverrideDelta=16)
       VariableLinks(1)=(LinkedVariables=(SeqVar_Named'SeqVar_Named_2'),DrawX=1194,OverrideDelta=68)
       ObjInstanceVersion=2
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=1104
       ObjPosY=176
       DrawWidth=128
       DrawHeight=61
       Name="SeqAct_SetObject_1"
       ObjectArchetype=SeqAct_SetObject'Engine.Default__SeqAct_SetObject'
    End Object
    Begin Object Class=SeqEvent_LevelLoaded Name=SeqEvent_LevelLoaded_1
       MaxWidth=136
       OutputLinks(0)=(Links=((LinkedOp=GFxAction_OpenMovie'GFxAction_OpenMovie_1')),DrawY=317,OverrideDelta=14)
       OutputLinks(1)=(DrawY=338,OverrideDelta=35)
       OutputLinks(2)=(DrawY=359,OverrideDelta=56)
       ObjInstanceVersion=3
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=296
       ObjPosY=248
       DrawWidth=137
       Name="SeqEvent_LevelLoaded_1"
       ObjectArchetype=SeqEvent_LevelLoaded'Engine.Default__SeqEvent_LevelLoaded'
    End Object
    Begin Object Class=GFxAction_OpenMovie Name=GFxAction_OpenMovie_1
       bTakeFocus=True
       bCaptureInput=True
       InputLinks(0)=(DrawY=222,OverrideDelta=23)
       OutputLinks(0)=(Links=((LinkedOp=SeqAct_SetObject'SeqAct_SetObject_1')),DrawY=212,OverrideDelta=13)
       OutputLinks(1)=(DrawY=232,OverrideDelta=33)
       VariableLinks(0)=(DrawX=777,OverrideDelta=16)
       VariableLinks(1)=(LinkedVariables=(SeqVar_Player'SeqVar_Player_1'),DrawX=849,OverrideDelta=98)
       VariableLinks(2)=(LinkedVariables=(SeqVar_Object'SeqVar_Object_2'),DrawX=911,OverrideDelta=161)
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=728
       ObjPosY=176
       DrawWidth=222
       DrawHeight=101
       Name="GFxAction_OpenMovie_1"
       ObjectArchetype=GFxAction_OpenMovie'GFxUI.Default__GFxAction_OpenMovie'
    End Object
    Begin Object Class=SeqVar_Player Name=SeqVar_Player_1
       bAllPlayers=False
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=672
       ObjPosY=416
       DrawWidth=32
       DrawHeight=32
       Name="SeqVar_Player_1"
       ObjectArchetype=SeqVar_Player'Engine.Default__SeqVar_Player'
    End Object
    Begin Object Class=SeqVar_Object Name=SeqVar_Object_2
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=936
       ObjPosY=432
       DrawWidth=32
       DrawHeight=32
       Name="SeqVar_Object_2"
       ObjectArchetype=SeqVar_Object'Engine.Default__SeqVar_Object'
    End Object
    Begin Object Class=SeqVar_Object Name=SeqVar_Object_3
       VarName="MoviePlayer"
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=936
       ObjPosY=-64
       DrawWidth=32
       DrawHeight=32
       Name="SeqVar_Object_3"
       ObjectArchetype=SeqVar_Object'Engine.Default__SeqVar_Object'
    End Object
    Begin Object Class=SeqVar_Named Name=SeqVar_Named_2
       ExpectedType=Class'Engine.SeqVar_Object'
       FindVarName="MoviePlayer"
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=1184
       ObjPosY=296
       ObjColor=(B=255,G=0,R=255,A=255)
       DrawWidth=32
       DrawHeight=32
       Name="SeqVar_Named_2"
       ObjectArchetype=SeqVar_Named'Engine.Default__SeqVar_Named'
    End Object
    Begin Object Class=GFxEvent_FSCommand Name=GFxEvent_FSCommand_1
       MaxWidth=95
       OutputLinks(0)=(Links=((LinkedOp=GFxAction_CloseMovie'GFxAction_CloseMovie_1')),DrawY=714,OverrideDelta=11)
       VariableLinks(0)=(DrawX=575,OverrideDelta=16)
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=528
       ObjPosY=648
       DrawWidth=67
       DrawHeight=128
       Name="GFxEvent_FSCommand_1"
       ObjectArchetype=GFxEvent_FSCommand'GFxUI.Default__GFxEvent_FSCommand'
    End Object
    Begin Object Class=GFxAction_CloseMovie Name=GFxAction_CloseMovie_1
       InputLinks(0)=(DrawY=690,OverrideDelta=11)
       OutputLinks(0)=(DrawY=690,OverrideDelta=11)
       VariableLinks(0)=(LinkedVariables=(SeqVar_Named'SeqVar_Named_3'),DrawX=834,OverrideDelta=36)
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=776
       ObjPosY=656
       DrawWidth=117
       DrawHeight=77
       Name="GFxAction_CloseMovie_1"
       ObjectArchetype=GFxAction_CloseMovie'GFxUI.Default__GFxAction_CloseMovie'
    End Object
    Begin Object Class=SeqVar_Named Name=SeqVar_Named_3
       ExpectedType=Class'Engine.SeqVar_Object'
       FindVarName="MoviePlayer"
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=792
       ObjPosY=800
       ObjColor=(B=255,G=0,R=255,A=255)
       DrawWidth=32
       DrawHeight=32
       Name="SeqVar_Named_3"
       ObjectArchetype=SeqVar_Named'Engine.Default__SeqVar_Named'
    End Object
    Begin Object Class=SequenceFrame Name=SequenceFrame_1
       SizeX=1012
       SizeY=988
       bDrawBox=True
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=264
       ObjPosY=-88
       ObjComment="solution1"
       DrawWidth=1012
       DrawHeight=988
       Name="SequenceFrame_1"
       ObjectArchetype=SequenceFrame'Engine.Default__SequenceFrame'
    End Object
    Begin Object Class=SequenceFrame Name=SequenceFrame_0
       SizeX=1012
       SizeY=988
       bDrawBox=True
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=1528
       ObjPosY=-120
       ObjComment="solution2"
       DrawWidth=1012
       DrawHeight=988
       Name="SequenceFrame_0"
       ObjectArchetype=SequenceFrame'Engine.Default__SequenceFrame'
    End Object
    Begin Object Class=GFxAction_CloseMovie Name=GFxAction_CloseMovie_0
       InputLinks(0)=(DrawY=650,OverrideDelta=11)
       OutputLinks(0)=(DrawY=650,OverrideDelta=11)
       VariableLinks(0)=(LinkedVariables=(SeqVar_Object'SeqVar_Object_63'),DrawX=2098,OverrideDelta=36)
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=2040
       ObjPosY=616
       DrawWidth=117
       DrawHeight=77
       Name="GFxAction_CloseMovie_0"
       ObjectArchetype=GFxAction_CloseMovie'GFxUI.Default__GFxAction_CloseMovie'
    End Object
    Begin Object Class=GFxEvent_FSCommand Name=GFxEvent_FSCommand_0
       MaxWidth=95
       OutputLinks(0)=(Links=((LinkedOp=GFxAction_CloseMovie'GFxAction_CloseMovie_0')),DrawY=674,OverrideDelta=11)
       VariableLinks(0)=(DrawX=1839,OverrideDelta=16)
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=1792
       ObjPosY=608
       DrawWidth=67
       DrawHeight=128
       Name="GFxEvent_FSCommand_0"
       ObjectArchetype=GFxEvent_FSCommand'GFxUI.Default__GFxEvent_FSCommand'
    End Object
    Begin Object Class=SeqVar_Object Name=SeqVar_Object_63
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=2200
       ObjPosY=392
       DrawWidth=32
       DrawHeight=32
       Name="SeqVar_Object_63"
       ObjectArchetype=SeqVar_Object'Engine.Default__SeqVar_Object'
    End Object
    Begin Object Class=SeqVar_Player Name=SeqVar_Player_0
       bAllPlayers=False
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=1936
       ObjPosY=376
       DrawWidth=32
       DrawHeight=32
       Name="SeqVar_Player_0"
       ObjectArchetype=SeqVar_Player'Engine.Default__SeqVar_Player'
    End Object
    Begin Object Class=GFxAction_OpenMovie Name=GFxAction_OpenMovie_0
       bTakeFocus=True
       bCaptureInput=True
       InputLinks(0)=(DrawY=182,OverrideDelta=23)
       OutputLinks(0)=(DrawY=172,OverrideDelta=13)
       OutputLinks(1)=(DrawY=192,OverrideDelta=33)
       VariableLinks(0)=(DrawX=2041,OverrideDelta=16)
       VariableLinks(1)=(LinkedVariables=(SeqVar_Player'SeqVar_Player_0'),DrawX=2113,OverrideDelta=98)
       VariableLinks(2)=(LinkedVariables=(SeqVar_Object'SeqVar_Object_63'),DrawX=2175,OverrideDelta=161)
       ObjInstanceVersion=1
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=1992
       ObjPosY=136
       DrawWidth=222
       DrawHeight=101
       Name="GFxAction_OpenMovie_0"
       ObjectArchetype=GFxAction_OpenMovie'GFxUI.Default__GFxAction_OpenMovie'
    End Object
    Begin Object Class=SeqEvent_LevelLoaded Name=SeqEvent_LevelLoaded_24
       MaxWidth=136
       OutputLinks(0)=(Links=((LinkedOp=GFxAction_OpenMovie'GFxAction_OpenMovie_0')),DrawY=277,OverrideDelta=14)
       OutputLinks(1)=(DrawY=298,OverrideDelta=35)
       OutputLinks(2)=(DrawY=319,OverrideDelta=56)
       ObjInstanceVersion=3
       ParentSequence=Sequence'Main_Sequence'
       ObjPosX=1560
       ObjPosY=208
       DrawWidth=137
       Name="SeqEvent_LevelLoaded_24"
       ObjectArchetype=SeqEvent_LevelLoaded'Engine.Default__SeqEvent_LevelLoaded'
    End Object

    Comment


      #3
      It worked. But still have the kismet warning:



      Extra info: I am using the swift file as an answer sheet. If the user chose the right answer. A static mesh will be hidden and open a gate. If you catch the drift.

      The close gfx moviePlayer runs and continues to next action. But a kismet warning occurs as you can see at the screenshot above.

      I used solution 1 though solution 2 will still give me the same output. I am using 2015-01 version of UDK btw if it does matter. Please, any kind of help will be much appreciated.

      Comment


        #4
        bit of a long shot,but are you assigning the movie player to the movie slot of the fscommand?

        Comment


          #5
          Originally posted by gaz661 View Post
          bit of a long shot,but are you assigning the movie player to the movie slot of the fscommand?
          Yes I did, the open and close gfx responds well. I connected an announcement with value "success" in it so i could check if it does really close.

          The problem is that I get a kismet warning containing message: "Obj 1 Question1(.swf 'filename') has no handler for GfxAction_Closemovie_#" at my editor.

          I think I must destruct my gfxAction obj but I don't know how to do it.

          Comment


            #6
            have you tried the unload checkbox?

            im not at my udk pc this week so cant really suggest any thing else till I get home.

            Comment


              #7
              Originally posted by gaz661 View Post
              have you tried the unload checkbox?

              im not at my udk pc this week so cant really suggest any thing else till I get home.
              Yes, unload button is checked. The kismet warning is "Obj .swfFile has no handler".
              I think the problem is how can I throw the object to be destroyed?

              Comment

              Working...
              X