![]() |
Npcserver stuff
Stefan, could you please made the flag 'washit' serverside on npcserver? Without it, we can't create serverside baddy's, only clientside ones. We have tried many things, including having a clientside washit send a triggeraction. But, only a clientside triggeraction would work, and that is not good. Please add all the hit-checking commands to serverside for npcserver. And, please fix the 'lighteffectsenabled' flag, or else add a flag that checks if the player can see setcoloreffect commands. Thank you.
|
Why does the server need to know if the player can see lighting effects? It's not like it has to draw those effects or anything.
|
Well, I have a mine where people see via a big light effect. I use seteffect to make the level's dark. When the player uses their lantern, a big light effect appears over them so they can see. Looks very nice. The only problem is that people who can't see light effects are stuck. They can't see because the level is so dark. Since seteffect can be seen by anyone who has 'Use Direct X' enabled, the 'lighteffectsenabled' flag always returns true. That is bad. I was asking Stefan if he could fix the lighteffectsenabled flag, or add a new one that checks if the player can see setcoloreffect commands.
|
Quote:
|
NPC Code:As for the other thing, just make an option at the start of your server in which it is asked if the player can see both seteffect and setcoloreffect.if (actionwashit) hearts-=strtofloat(#P(0)); |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 08:49 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.