Difference between revisions of "Talk:GetAltControl"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Quetzilla
imported>Haama
 
(One intermediate revision by the same user not shown)
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. I've taken care of it on [[GetControl]].--[[User:Haama|Haama]] 22:51, 19 April 2008 (EDT)

Latest revision as of 21:54, 19 April 2008

value for no button bound to control[edit source]

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. I've taken care of it on GetControl.--Haama 22:51, 19 April 2008 (EDT)