Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-07-2001, 11:05 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Ok. I give up...

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!!!
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.