Page 1 of 1

Aiming down sights doesn't remove crosshair

Posted: Sun Feb 23, 2014 2:58 am
by Fabysk
Not sure why the crosshairs don't go away. It uses a HudMessage to make the crosshairs appear and disappear...
Take a look at the scripts:
http://pastebin.com/6v1DYPUL

RE: Aiming down sights doesn't remove crosshair

Posted: Sun Feb 23, 2014 10:19 am
by -Jes-
1. OH GOD THE VOLTCODE MY EYES
2. Open is only run by the server - and acs_terminate is basically not useful for this
3. Rather than waste scripts like that, you should make your weapons give/take an Aiming inventory item through decorate, then have
A) a ENTER clientside script check for it with an ELSE condition
B) an SBARINFO tree check for it with an ELSE condition

RE: Aiming down sights doesn't remove crosshair

Posted: Sun Feb 23, 2014 5:33 pm
by Lollipop
also, why... just why do you repeat the same code all the time instead of either throwing it into a function or just putting a bunch of "or"s into you code to ask for all items at the same time? (not sure if ACS supports or, it just popped up in my head)