![]() |
Stefan you should add support for
you should add support for
keydown server side... I say that because I am making something that uses key down but everyone on the level has to see you move the object... I know I can use trigger action but that glitchs up sometimes (like it freezes or something and is kind of lagged) |
yeah, he really should
|
Don't know, then all key action would need to
be sent to the server |
Quote:
|
.....
Couldnt you make something like Keydown2() that is server side? Kinda like onwall2 or something. It would make things a lot easier, ;)
|
Re: .....
Quote:
and it would be usless on most levels for that to happen mabie you can do something like if(created) getkeys; and it sends the keys for that level only... then on that level and only that level you say that on you can say like if(keydown(blah)) |
Re: Re: .....
Quote:
|
triggeraction is made for this kind of stuff
|
Quote:
|
Quote:
|
Do some stuff on client-side and only
send informations when it is necessary |
For some NPCs that contain bot CLient and Server codes i make the client one check for keys ythen set a setstring client.keydown,#v(var); and then the server checks the clinet for that. Triggeraction i dont believe works if the client Script is triggering the serverside script if its the same NPC. that might be nice if it could though. Aparently triggeraciton wont work between 2 weapons the clinet has either.
|
| All times are GMT +2. The time now is 09:45 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.