MantisBT - Zandronum
View Issue Details
0003100Zandronum[All Projects] Suggestionpublic2017-04-27 21:182017-04-28 09:45
ibm5155 
 
normalfeatureN/A
newopen 
MicrosoftWindowsXP/Vista/7
3.0-beta 
 
0003100: Make GetPlayerInput to work with spectators/death player in a clientside script
GetPlayerInput(-1, INPUT_BUTTONS);
this function should return the input buttons from the spectator only if called by a clientside script.

Why the request? there are some mods (mine included) that makes acs like menus that are interacted in clientside script, once the player spectate (or someone connect to the game but doesnt join) you cannot interact anymore with those menus.

Why only clientsided scripts should work with that? because there's no need to send spectators input buttons to the server (and if needed, there are ways to transfer clientside vars to serverside)
heck, I'm suffering from this lack of feature by 3 years and only now it came the idea to request it here...
No tags attached.
Issue History
2017-04-27 21:18ibm5155New Issue
2017-04-28 05:49FusedNote Added: 0017382
2017-04-28 05:49FusedNote Edited: 0017382bug_revision_view_page.php?bugnote_id=17382#r10442
2017-04-28 05:50FusedNote Edited: 0017382bug_revision_view_page.php?bugnote_id=17382#r10443
2017-04-28 09:45CatastropheNote Added: 0017384

Notes
(0017382)
Fused   
2017-04-28 05:49   
(edited on: 2017-04-28 05:50)
I feel like with SetDeadSpectator coming, it should just generally be possible to do anything with spectators. Either way, I think this alone definitely is a nice thing to have.

(0017384)
Catastrophe   
2017-04-28 09:45   
My mod death race has a clientside menu that is controlled by the keyboard. You're probably doing something wrong.

The only difference in this case is that the menu is accessed only if you already are a spectator for my mod.