x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 
x
To those who participated in the Highlander Season 32 (Summer 2024), please fill out this Feedback Form for the current & next Highlander seasons!

Forum

HudLowAmmoPulse event

Created 7th February 2012 @ 23:27

Add A Reply Pages: 1

kyle

lala
chafe

is it possible to have something like “low ammo” flash under your crosshair when this event gets called? i’ve set it up in hudlayout but for some reason the event isn’t triggering it, only the ammo counter turning red is being triggered. am i putting it in the wrong file or is it just not possible? (ie not the hudlayout.res)

broesel

LAME

Hudlayout.res is correct for the element which you want to pop up. However for this to work you still need to add an animation in the HudLowAmmoPulse event:

add this to HudLowAmmoPulse:

Animate YOURELEMENT FgColor "255 0 0 255" Linear 0.0 0.0

and this to HudLowAmmoPulseStop:

Animate YOURELEMENT FgColor "0 0 0 0" Linear 0.0 0.0

Change “255 0 0 255” (red) to something else if you want, and make sure to change YOURELEMENT to the name of the element you added to hudlayout.res :)


Last edited by broesel,

Add A Reply Pages: 1