Difference between revisions of "EnableControl"
Jump to navigation
Jump to search
Notes on bug
imported>Haama (Created) |
imported>Haama (Notes on bug) |
||
Line 7: | Line 7: | ||
Enables the key and mouse button for a control disabled with [[DisableControl]]. | Enables the key and mouse button for a control disabled with [[DisableControl]]. | ||
'''Example''' | |||
GetControl 0 ;See [[EnableControl#Notes|Notes]] for explanation | |||
EnableControl 5 | |||
Re-enables the Activation keyboard and mouse keys, if there are any. | |||
==Notes== | |||
*This function currently has a bug and may cause a crash in-game. To get around it, use another [[EnableControl#See_Also|Control Input function]] (except for [[DisableControl]]) before using it. | |||
==Control IDs== | ==Control IDs== |