OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: bo on July 04, 2023, 06:54:49 am

Title: [Answered] Mission restarts when same hotkey is used for "use hand item" and "item action"
Post by: bo on July 04, 2023, 06:54:49 am
Version: OXCE 7.9.6

A battlescape mission goes back to the landing screen (battlescape crashes?) when the same hotkey is used for "use right/left hand item" and "Item action 1-5".
e.g. I tried to set the "R" key for both "use right hand item" and  "Item action 1" so that the weapon could be fired by double tapping the key.

Other cases: when the same hotkey is used for multiple item actions, e.g. "Item action 1" and "Item action 2"

Title: Re: Mission restarts when same hotkey is used for "use hand item" and "item action"
Post by: Meridian on August 05, 2023, 07:03:38 pm
The hotkey to open the "use item" screen is also the hotkey to close it.

You can't define the same hotkey for two actions that can be invoked at the same time... the game engine will (usually) not survive it.