46 — Lock input
Changed in 0.1.0
Hides the cursor and stops the mouse reaching the tactical view until something hands control back.
Editor data
- Numeric ID
46- Engine ID
TACTION_LOCK_INPUT- Editor name
- Lock input
- Need token
NEED_NONE- Parameters
- None
- Attachment
- none
INI example
[Actions]
<TriggerID>=1,46,0,0,0,0,0,0,Caveats
- The lock is consulted only where the tactical view takes the mouse. Presses over the map are dropped and the map stops scrolling, while nothing on the keyboard path and nothing in the sidebar's own button handling consults it, so a player who knows the layout can still act with the cursor hidden.
- A band selection under way is abandoned as the lock goes on.
- A structure waiting to be placed is dropped, and the repair, sell, power and waypoint modes are all cleared, before the lock takes hold. Control comes back with an ordinary cursor however the player was holding it when the sequence began.
- The announcement plays on every firing, including one that finds input already locked.
- The lock is recorded on the scenario, so it survives the options screen and comes back when that screen closes. Winning, losing, restarting and aborting the mission each release it.
History
- Changed0.1.0In development