Page 1 of 1

GameEvent naming convention

Posted: Wed Feb 10, 2016 10:00 am
by BackRaw
Hi,

I know you can name the GameEvent object whatever you want in a plugin, however, I'd like to go with what the SP developers go.
The reason I'm asking is because I saw, in the weapon_manager wiki page, that it's named event instead of game_event. Is this the "new way" or just the authors preference?

Thanks :D

Posted: Wed Feb 10, 2016 10:13 am
by Ayuto
My preference was "event", but we since we wanted consistency we decided to use "game_event".

Can you give me the link to the "event" occurence? I will update it.

Posted: Wed Feb 10, 2016 10:18 am
by BackRaw
http://wiki.sourcepython.com/pages/effects

Sorry, it was in effects. Got my memory wrong there, sorry :D

Posted: Wed Feb 10, 2016 10:18 am
by BackRaw

Posted: Wed Feb 10, 2016 10:29 am
by Ayuto
Yeah, that's the old wiki, which we don't update anymore.

Posted: Wed Feb 10, 2016 11:30 am
by BackRaw
Ok I'm confused lol. What's the new one?

Posted: Wed Feb 10, 2016 12:02 pm
by Ayuto

Posted: Fri Feb 12, 2016 5:33 pm
by BackRaw
Thanks. Not sure why it didn't do it before.