Difference between revisions of "Talk:GetAltControl"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Quetzilla
imported>Haama
Line 2: Line 2:


The description says that if the result is read into a short then it will be -1 if no mouse button is bound to the control, and 65535 otherwise, but I am getting 65535 even when using a short.  Can anyone else confirm this? --[[User:Quetzilla|Quetzilla]] 21:05, 19 April 2008 (EDT)
The description says that if the result is read into a short then it will be -1 if no mouse button is bound to the control, and 65535 otherwise, but I am getting 65535 even when using a short.  Can anyone else confirm this? --[[User:Quetzilla|Quetzilla]] 21:05, 19 April 2008 (EDT)
:Oblivion doesn't distinguish between script shorts and longs. Even if you use a global the range is much larger than 16 bytes. I've removed the note (if you see it on any other pages, please remove it).--[[User:Haama|Haama]] 22:51, 19 April 2008 (EDT)

Revision as of 21:51, 19 April 2008

value for no button bound to control

The description says that if the result is read into a short then it will be -1 if no mouse button is bound to the control, and 65535 otherwise, but I am getting 65535 even when using a short. Can anyone else confirm this? --Quetzilla 21:05, 19 April 2008 (EDT)

Oblivion doesn't distinguish between script shorts and longs. Even if you use a global the range is much larger than 16 bytes. I've removed the note (if you see it on any other pages, please remove it).--Haama 22:51, 19 April 2008 (EDT)