function PostRender (help!) - solved

Discussions about Coding and Scripting
Post Reply
User avatar
Gadavre
Experienced
Posts: 137
Joined: Sun Jan 18, 2015 7:55 am

function PostRender (help!) - solved

Post by Gadavre » Tue Oct 18, 2016 12:56 pm

Hi.
This line allows us to make the color of the crosshair as we chose it in the game HUD settings:

Code: Select all

Canvas.DrawColor = 15 * ChallengeHUD(P.myHUD).CrosshairColor;
But I would like to see crosshair for my weapon was selected from general Hud settings.
for instance if:

Code: Select all

Canvas.DrawIcon(Texture'CHair1', 1); 
Thus we will see a certain crosshair. But how to specify the path to the crosshair, that we have chosen in the General hud settings of the game???
help please!

Post Reply