Announcement

Collapse
No announcement yet.

compile error, not sure what to make of it...

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

    compile error, not sure what to make of it...

    "Error, Bad or missing expression for token: UILabel, in '='"

    And before that;

    "Error, Unknown Function 'SceneActivated' in 'Class Engine.HUD'"

    ----

    I'm thinking that this is related to scope. The code was taken from a class extending UDKUIScene.

    #2
    It tells you exactly what the error is, that is there no function called 'SceneActivated' in Engine.HUD ; and you're probably trying to call it.

    Comment


      #3
      Did you expect that if you took code from a UIScene and put it into a HUD, that it would work?

      Comment


        #4
        Oh MY GOD! So what you're saying is that in order for the SceneActivated function to work, it needs to be defined somewhere else in the code?

        Yep, I guess it painfully obvious that we're dealing with a child in a realm of warriors.

        Comment

        Working...
        X