Hi guys!
Someone can help with this one:
When I execute a action, I want to an imagem (texture, or something like that ) be displayed in screen for a period.
How can I do that?
Draw Image? But where I link the "Draw Image"?
THanks!
Hi guys!
Someone can help with this one:
When I execute a action, I want to an imagem (texture, or something like that ) be displayed in screen for a period.
How can I do that?
Draw Image? But where I link the "Draw Image"?
THanks!
Which action? take a look at playercontroller
an example:
More information on http://udn.epicgames.com/Three/Canva...icalGuide.htmlCode:state Dead { DrawSomeImage(); } function DrawSomeImage() { local Canvas Canvas; Canvas = HUD.Canvas; Canvas.DrawIcon(ROFLIcon, 8, 8, 0.5); } defaultproperties { ROFLIcon=(Texture=Texture2D'YourContent.ROFLImage',U=72,V=8,UL=48,VL=48) }
I trying to add just a simple image when player change Weapon...
WHen I compile your example is missing the HUD variable...
"Error, Bad or missing expression for token: HUD, in '='"
My example will never work! it was just to show how
Take a look at InventoryManager.uc... function ChangedWeapon. A sample, just taking out of my mind could be
Code:simulated function ChangedWeapon() { local Canvas Canvas; Canvas = PlayerController.myHUD.Canvas; Canvas.DrawIcon(ROFLIcon, 8, 8, 0.5); super.ChangedWeapon(); }
Bookmarks