Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002799Zandronum[All Projects] Suggestionpublic2016-07-31 00:512016-08-10 16:55
ReporterVisual Vincent 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutiondenied 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version2.2-beta 
Target VersionFixed in Version 
Summary0002799: Implement a way to reference your current Player Number in the console
DescriptionI'd find it useful for certain commads if you could reference your current player number (0-63). Say we're executing a script via "puke" which takes a player number as an argument. Instead of looking up the player number manually you could just say for example "$pnum".
This could be useful if you want to bind it to keys too.

Example:
"puke 35 $pnum"
Attached Files

- Relationships

-  Notes
User avatar (0015422)
Dusk (developer)
2016-08-07 20:56

And what is stopping the player from passing some other player's number? ACS can just use PlayerNumber for NET scripts, and ConsolePlayerNumber for CLIENTSIDE scripts anyway.
User avatar (0015425)
Visual Vincent (reporter)
2016-08-10 10:14

@Dusk I'm not sure what you mean... Nothing's stopping you from passing someone else's player number. The reason I'd like this is because I want to quickbind certain scripts (that are NET) in certain mods, and they require a player number to be passed. It is also faster than having to lookup your own player number, if it's that you're going to reference.
User avatar (0015429)
Dusk (developer)
2016-08-10 12:53

Then make another script which calls the original with the current player number. An overload if you may.
User avatar (0015431)
Visual Vincent (reporter)
2016-08-10 14:34
edited on: 2016-08-10 14:40

Quote
Then make another script which calls the original with the current player number. An overload if you may.


The scripts aren't mine, though. They're baked into mods.
If you don't want to implement this that's fine, but if so then please close this. I just thought it would've been a little handy thing to have.

User avatar (0015435)
Dusk (developer)
2016-08-10 16:54
edited on: 2016-08-10 16:55

Quote

The scripts aren't mine, though. They're baked into mods.

With the modular nature of PWADs, I fail to see how this is a problem.

Anyway such a feature would be another thing on us adding delta to ZDoom for no real reason. You may ask ZDoom though.


Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-07-31 00:51 Visual Vincent New Issue
2016-08-07 20:56 Dusk Note Added: 0015422
2016-08-07 20:56 Dusk Status new => feedback
2016-08-10 10:14 Visual Vincent Note Added: 0015425
2016-08-10 10:14 Visual Vincent Status feedback => new
2016-08-10 12:53 Dusk Note Added: 0015429
2016-08-10 14:34 Visual Vincent Note Added: 0015431
2016-08-10 14:37 Visual Vincent Note Edited: 0015431 View Revisions
2016-08-10 14:40 Visual Vincent Note Edited: 0015431 View Revisions
2016-08-10 16:54 Dusk Note Added: 0015435
2016-08-10 16:54 Dusk Status new => closed
2016-08-10 16:54 Dusk Resolution open => denied
2016-08-10 16:55 Dusk Note Edited: 0015435 View Revisions






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker