|
Post by electrolyte on Nov 12, 2019 14:20:23 GMT
Hi,
Hopefully an easy problem to solve, but is there a way to trigger a player to put away their weapon automatically when getting onto a ladder?
Thanks loads!
|
|
|
Post by Invector on Nov 14, 2019 15:30:59 GMT
Yep, we have an example of that in the main Shooter demo scene. Just call the method ForceHideWeapons(bool - true to isntantly hide or false to play the unequip animation) in the OnEnterLadder Event.
|
|
|
Post by electrolyte on Nov 18, 2019 19:13:20 GMT
Great, thank you. I've got that working. Just one small thing I noticed, if you walk while aiming and enter an 'auto action' - no key press needed option to trigger getting on the ladder, it keeps the gun out. Possibly I'm doing something wrong my end
|
|
|
Post by Invector on Nov 18, 2019 19:19:36 GMT
That's actually a bug from the current version, we already fix it and it will be on the next update ;)
|
|