![]() |
gscript question
How would you change what sprites a server uses?
|
That's quite a vague question. If you want to change the appearance of characters, use replaceani or rescript movement.
|
Quote:
|
Most of the relevant stuff can be rescripted.
|
I don't believe you can through ordinary means. You're best bet is rescripting it entirely.
|
Quote:
|
Quote:
it's impossible to do so but Stefan said he might add this command in the future |
Alright, another question:
I've tried almost everything with keydown2 and strequals(#p(0),#)) I can't get CTRL to work. - keydown2 is fixed, when you dont add 256,512 or 1024 (shift, control, alt) to the key number then it doesn't return 'true' when those special keys are not pressed; a few keycodes that can be used in keydown2 to check for normally unaccessible keys (have not test all of them though): 8 - back 9 - tab 13 - return 16 - shift 17 - control 18 - alt 33 - page up 34 - page down 35 - end 36 - home 42 - print key 45 - insert 46 - delete 91 - left windows key 92 - right windows key 93 - mouse popup key 112-123 - F1-F12 144 - numlock 160 - left shift 161 - right shift 162 - left control 163 - right control 164 - left alt/menu 165 - right alt/menu Tried all Controls |
I guess it depends on how you use it. I tried it with keypressed also and it didn't work. I tried this online and my results was fine.
NPC Code: |
| All times are GMT +2. The time now is 08:55 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.