Announcement

Collapse
No announcement yet.

Pass variable value from GFX to UScript or Kismet

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

  • replied
    How does it works ?? is a simple example somewhere? I need to show only one number in kismet... through GFX Movie.. jooj bazmek

    Leave a comment:


  • replied
    Have you looked at the GFxUI actions in Kismet? There is an action called GFx SetVariable that allows you to set variables in your Flash file from Unreal.

    Leave a comment:


  • replied
    what about the reverse? I'd like to pass variable from Kismet as get actor location to GFX.. What should I do?

    Leave a comment:


  • replied
    id go with that ^^.

    Leave a comment:


  • replied
    dont know the tutorial your following but its probably

    var GFxObject RootMC;

    RootMC = GetVariableObject("_root");

    Leave a comment:


  • replied
    Hello Matt

    Thank you for covering this, but with the code from that Link I always get the same error:
    Unexpected - RootMC

    So I guess I'm making some progress but not all the way.

    Here is my AS that resides directly on first frame of the flash scene:
    Code:
    import flash.external.ExternalInterface;
    var testputere:Number = 1500;
    var testprecizie:Number = 200;
    ExternalInterface.call ("asteasunt", testputere, testprecizie);
    And here is the UnrealScript code
    Code:
    var float putere;
    var float precizie;
    
    RootMC = GetVariableObject("_root");
    
    /* Get AS Vars */
    myNumber = RootMC.GetFloat("putere");
    myNumber = RootMC.GetFloat("precizie");
    Obviously I am doing something wrong here.

    Can u shed some more light on me please?

    Thank you

    Leave a comment:


  • replied
    Please see the Getting Started forum post. It covers all kinds of info that will answer most of your questions.

    In fact, the very question you're asking about has a link in that post:

    http://forums.epicgames.com/showthre...1#post27806200

    Leave a comment:


  • started a topic Pass variable value from GFX to UScript or Kismet

    Pass variable value from GFX to UScript or Kismet

    hello guys

    Is it possible to pass a variable value from GFX to UScript or Kismet?

    I have a simple menu that allows me to set a variable in flash by draging the mouse up or down.

    All I want to know is how to get that value from the flash and use it into UDK.

    PLS help, I been looking kinda everywhere for this info but I got nothing back.

    Thank you
Working...
X