![]() |
Easy question.....
Just this one question..... Im learning to Script and NPC server parts too with what parts are Client side etc..... So just a simple question, Warcaptain and Scripting Monkey (Kaimetsu?) all helped me a bit and I want to confirm 2 things.....
Are Lights ALWAYS ClientSide I heard they dont work if Server side? Does this mean that the movement of the light is also Clientside? Wouldnt this be serverside as the NPC server would have to control and operate the script to make it move? Is the command: If (weaponfired) { Always ClientSide Because the client controls this part? Can if (weaponfired) ever be serverside? If I got this tottaly wrong can you say what it is and why...Does anyone know, or can anyone confirm that for me? Thankyou in Advanced if anyone should be willing to reply and help me =D |
Anytime I've used lights, they have always been clientsided, including the movements. If you just want them to be MOVING, you can do something like setting level.vars and having it set the light effect on a timeout at like level.lightx,level.lighty. That would make it constantly update to that location.
I do not BELIEVE if (weaponfired) MUST be serversided, I believe it also works clientsided, but because it is used for weapons, it is most generally used w/ a triggeraction. Odds are you may have it perform some kind of clientside action, so you would want to do something like this: (the weapon's name btw is Test) NPC Code: this would make it do serverside actions along w/ clientside on that NPC. ---Shifter |
Quote:
|
LOL. Btw, you never replied to the forum PM that i replied to that you sent me ;)
---Shifter |
Ooops, sorry I looked at it, Had to go out and closed so i 4got about it! =)
Ok ill reply now! *runs to do it* |
You better =)
---Shifter |
Someone may close this now!
|
x.X there is NO point in closing the thread, perhaps someone will need a question from it l8er, just let it die like everything else =p
---Shifter |
All times are GMT +2. The time now is 07:41 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.