MantisBT - Zandronum
View Issue Details
0000670Zandronum[All Projects] Suggestionpublic2012-02-10 16:252018-09-30 19:51
Watermelon 
Torr Samaho 
normalfeatureN/A
closedfixed 
MicrosoftWindowsXP/Vista/7
98d 
1.0 
0000670: Return mouse data clientside only with ACS GetPlayerInfo(-1, INPUT_BUTTONS)
Currently you can grab spectator data like angle and pitch, but I have no other way of getting input. All I desire is to be able to read the 'fire' button so an offline menu that I've made could work with spectators. In game it's not a problem but neither through NET, nor NET CLIENTSIDE can I grab any data from the client besides the pitch/angle of the spectator camera.

Is it possible to implement CLIENTSIDE only button returning? I don't need it for regular scripts nor NET scripts.

It is intended to be used both off and online.




Code example:

Script 123 (void) NET CLIENTSIDE
{
    Print(d: GetPlayerInput(-1, INPUT_BUTTONS)); // Would return '1' if you press +attack or +fire or whatever the fire combination is to the client
}
No tags attached.
Issue History
2012-02-10 16:25WatermelonNew Issue
2012-02-10 16:27WatermelonNote Added: 0002583
2012-02-10 16:46WatermelonNote Edited: 0002583bug_revision_view_page.php?bugnote_id=2583#r1294
2012-08-02 14:08WatermelonNote Added: 0004201
2012-08-02 19:32Torr SamahoStatusnew => resolved
2012-08-02 19:32Torr SamahoFixed in Version => 1.0
2012-08-02 19:32Torr SamahoResolutionopen => fixed
2012-08-02 19:32Torr SamahoAssigned To => Torr Samaho
2018-09-30 19:51Blzut3Statusresolved => closed

Notes
(0002583)
Watermelon   
2012-02-10 16:27   
(edited on: 2012-02-10 16:46)
Sorry that my title is ambiguous, but I guess it would also work for keyboard input as well instead of only being the mouse-- I just use left click as my primary fire.

EDIT: Also tried with the Send Full Button info dmflag or compet flag and it didn't fix the issue

(0004201)
Watermelon   
2012-08-02 14:08   
Close this, it was fixed in a recent report