I need help!!!
NPC Code:
if (created) { timeout=0.1; }
if (timeout) {
if (strtofloat(#s(this.mode))==0 || mode==0 || this.mode==0) {
setcharani idle,;
setcharprop #c,No Hit;
}
if (strtofloat(#s(this.mode))==2 || mode==2 || this.mode==2) {
setcharprop #c,Ow;
setcharani dead,;
x-=1;
sleep 2;
x+=1;
setstring this.mode,0;
}
timeout=0.1;
}
if (washit) {
mode=2;
this.mode=2;
setstring this.mode,2;
}
//#CLIENTSIDE
if (created) {
showcharacter;
}
if (washit) {
mode=2;
this.mode=2;
setstring this.mode,2;
}
This is my ATTEMPT at getting the #@$#(@%$# 'washit' flag to work. But, I can't do it! I want to create a baddy that can be fought by multiple people (ie, serverside baddy). Only problem is, the flag 'washit' is clientside! No matter WHAT I try, I cannot get values I set in the clienside portion of the script to "carry over" to the serverside. Anybody know how this is done? It's like the dragon bosses of the bomy moon on New Main. If you hit them, can't everybody see that you damaged it? And the baddies on Providence. I'm pretty sure those can be fought by multiple people. Does ANYBODY UNDERSTAND ME!!??!!??!!?? ......help..... I even tried doing a triggeraction on itself!!!