![]() |
Hooking scripts prior to default systems.
Dear Stefan,
Allow certain weapon scripts to be executed before default systems are ran. Can be done like: hookEvent(HOOK_PREMOVEMENT, "lolTest"); then lolTest() would be executed before the player movement logic is done each frame. With love, Downsider |
I support this, please Stefan
|
state a example of usage please, i don't get what "hooking" into default systems would be good for (rather then making your own)
|
then stuff like this could be easily done.
PHP Code:
|
I'd rather seen it done like in JavaScript
PHP Code:
|
Quote:
|
All times are GMT +2. The time now is 12:52 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.