#Problem with usable gun event hook

3 messages · Page 1 of 1 (latest)

meager chasm
#

So I'm trying to make the stock of the gun remain extended while the character is aiming and remain retracted while the character is not aiming.

I created two game objects, one with the stock retracted (Stock_0) and one with the stock extended (Stock_1).

My idea was to add a usable gun event hook to Stock_0 so that when the character starts aiming, Stock_0 is deactivated and Stock_1 is activated. I also added a usable gun event hook to Stock_1 so when the character stops aiming, Stock_1 is deactivated and Stock_0 is activated. But this doesn't seem to work, or perhaps I'm missing something.

cold marsh
#

idk uhhhh try throwing the disabled bit in the OnAimingStopped and the extended in OnAimingStarted

#

it shouldn't make a difference but worth a shot