Talk:Enumeration List

From GMod Wiki

Jump to: navigation, search

It would be far more useful if these lists at least also gave the relevant values of the enums. --Pyroguy 03:55, 25 July 2008 (GMT-6)

Contents

Plan for this page

I would like to create sub-pages with enum information, then embed them back onto this page. After than, if any other page requires this information, embed it there.

I'm not going to really stress doing it now, but create a page(similar to the ones I create, check the history of this article) for each enum that's currently being used on the wiki. :P This isn't really important, though I want to keep this information nice and centralize, so hundred pages don't have to be updated to just change one thing(ex. What I'm doing with Shared/Server/Client lua states). XD --Unrealomega 07:16, 19 March 2009 (GMT-6)

Display options

Is it at all possible to make it so you can choose how to display enumerations? What I mean is for an enumeration that has both a name and a value you could choose to display it alphabetically or numerically. For IN_ you could display by Identifier, value, description or default key by clicking the name at the top.. I'm guessing this isn't in the wiki right now but it could prove useful for organizing large amounts of data like here. --Crazy Quebecer 19:19, 8 October 2009 (UTC)

A good example of something that could really use this right now is COND_ --Crazy Quebecer 19:20, 8 October 2009 (UTC)

Dump content in the list

Most of that information isn't useful and should stay in the dump. We don't need the binary equivalent of the value of each enumeration. Besides an enumeration is worth "6" not "0000000000000006". This really could use some heavy reformatting before being placed in here.
--Crazy Quebecer 21:48, 8 October 2009 (UTC)

For the moment, it's fine. The 0s keep it nice and formatted so it's easy to look through. The information within the second and third is useful, as the second is the value of the enum(Obviously) and the third is bitwise.
So, if a novice were to put "12", instead of the enum, it can be easily be replaced later by a more experienced coder. The bitwise value is nice so you can turn them into flags. :P --Unrealomega 22:41, 8 October 2009 (UTC)
It would be better to seperate the enum name, value and bitwise value in different columns instead of using |'s to seperate them. --[ Dlaor ] 12:49, 9 October 2009 (UTC)

Explanations?

Hey, i was working on a stamina system and i just finished it missing information about the IN_ keys made me use 2 more days on it...... It's really hard to know what IN_SPEED Should do it's not referenced anywhere else and it could be any of the moving keys like w,a,s,d or arrow keys.

Because i didn't knew that IN_SPEED means KEY_LSHIFT and that really pissed me off. So could some user that can edit the page without people yelling at them, please do that it would help many noobs.

And feel free to make explanations for all you deem unexplained.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox