News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 18th Apr 2012, 10:57 PM   #1
Gruntkiller4000
Registered User
 
Gruntkiller4000's Avatar
 
Join Date: Jul. 11th, 2011
Posts: 49
Display variables on the HUD

I have created my new death match game type which uses my new HUD. However, I had a new value on the screen to show my own variable. I am trying to add a different sort of money system to UT2k4. The problem is, if I link the text to my own variable like this: (WCPawn is my new Pawn, and my new variable is Money.)

Code:
local WCPawn P;
DigitsMoney = P.Money;
DigitsMoney is what value to show on the HUD. I am changing the HudCDeathmatch file. The thing is when I play the game, my value turns to 0! But if I use any other value like PawnOwner.Health it really does show up! Can somebody please tell me how to make custom variables show up on the HUD!
Gruntkiller4000 is offline   Reply With Quote
Old 5th May 2012, 05:33 AM   #2
Gruntkiller4000
Registered User
 
Gruntkiller4000's Avatar
 
Join Date: Jul. 11th, 2011
Posts: 49
doesn't matter i fixed it.
Gruntkiller4000 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer