Quote:
|
Originally Posted by excaliber7388
would a flag addition work? like: *snip*
|
Nope.
- flags belong to a player's account, and not to the current NPC. The serverside part would not know which player to check. Also, this would not work for more than one NPC of this type, even if it was not broken for other reasons.
- the only type of flags that you can set on the clientside that the server will get told about are client. flags. You cannot set regular flags.
- Toplevel if-clauses should exclusively check for events. I suppose this is just mock code, but still, when exactly are you going to check whether the flag is set? In a tight timeout loop? ****

Move a lot more of your logic to the serverside. The clientside of a regular baddy has almost nothing to do. Chances are you will not be able to use the premade NPC baddies for this, though.
Other than that, I am laughing too hard at
if (washit) being censored.