Announcement

Collapse
No announcement yet.

Trying to add a timer to the HUD using an interaction.

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

    Trying to add a timer to the HUD using an interaction.

    I have read a couple tutorials for using interactions to spawn something on the HUD.

    Mainly these here:

    http://wiki.beyondunreal.com/Legacy:...From_A_Mutator

    http://wiki.beyondunreal.com/Legacy:HUD_Interactions

    I am trying to spawn the same game clock that is already on the hud, when a boss sequence is taking place on my server (In a different location, and color of course. ) My mutator gives the players a time limit till defeat, and I would like to have the clock appear when this takes place and be removed when the boss is dead. Also it will need to be reset so that it can be displayed and count down again when another sequence happens. As my server has three boss waves right now.

    So far I understand I need to create a mutator that spawns the interaction, but how do I spawn the function DrawTimer that is in the HUD class already.

    Any help would be great.

    Thanks, uno.

    #2
    Found this thread here. Perhaps the info here can be useful to my needs.

    http://gearsforums.epicgames.com/sho...er+interaction

    Comment


      #3
      Still having a difficult time with this, because there is alot of conflicting arguments.

      Comment


        #4
        I ended up making my own HUD mutator to make the clock on the HUD.

        Comment


          #5
          good job

          Comment


            #6
            Well now I still need to get the clock to use my DefeatTime, instead of it being just a duplicate of the game clock. I created a Replication info for the DefeatTime to be sent to the HUD I made but I am doing it wrong probably.

            Comment


              #7
              YAY! Go me! I got it, with a little help from my friends. Thank You INI!

              So the easy solution was to create my own HUD, create a mutator to spawn my HUD, create a ReplicationInfo for the information I needed to be displayed on my HUD to recieved from my Boss mutator, and finally add the lines of code to my Boss mutator to tell it to sawn the ReplicationInfo so that it could send the info.

              *Terminology simplified for everyone to understand*

              Comment

              Working...
              X