Announcement

Collapse
No announcement yet.

accessing/copying a variable in playercontroller to display on hud.

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

    accessing/copying a variable in playercontroller to display on hud.

    I have a created a custom kismet (sequ action) which creates a score variable which is saved in my customplayercontroller class. it's based on this http://danhaddad.wordpress.com/2011/...ariable-links/

    I can't seem to figure out how to either call the saved variable or copy the variable so that i can draw that on the customhud which inherits from HUD. I have done some programing but i am very rusty and apparently just completely missing something obvious. Any help would be appreciated.

    #2
    The HUD class have a variable named "PlayerOwner" that reference your PlayerController class. Use it to call your variable.

    Comment


      #3
      I like Froyok's solution


      I also talk extensively on this subject in this tutorial

      get to this pic and check out the nearby code



      Rama

      Comment

      Working...
      X