203 {
204 HumanItemBehaviorCfg itemInHandsCfg =
m_Player.GetItemAccessor().GetItemInHandsBehaviourCfg();
205 bool boo = false;
206 UAInterface input_interface =
m_Player.GetInputInterface();
207 if(input_interface && input_interface.
SyncedPress(
"UAGear"))
208 {
209 boo = true;
210 }
211 if( boo || pHic.
IsWeaponRaised() || (itemInHandsCfg && itemInHandsCfg.
m_iType == ItemBehaviorType.HEAVY) )
212 {
213 return false;
214 }
215
217 return false;
218
219 return true;
220 }
proto native bool SyncedPress(string action, bool check_focus=true)