View Single Post
  #3  
Old 01-04-2002, 03:16 AM
GrowlZP2P GrowlZP2P is offline
Registered User
Join Date: Dec 2001
Location: Corpadverticus, which in case you don't know is the recently-formed and Blockbuster Video-sponsored Tenth Circle of Hell
Posts: 57
GrowlZP2P is on a distinguished road
Send a message via AIM to GrowlZP2P Send a message via Yahoo to GrowlZP2P
Replace the original if (created) section with this;

NPC Code:
if (created) { 
// Initialize the attributes
showcharacter;
setcharprop #3,head16.png;
setcharprop #C0,orange;
setcharprop #C1,gray;
setcharprop #C2,darkblue;
setcharprop #C3,darkblue;
setcharprop #C4,darkblue;
setcharprop #n,Guard (Graal Royal Army);
setcharprop #2,no-shield.gif;
shieldpower = 1;
dir = 2;
swordpower = 1;
this.originalx=x;
this.originaly=y;
}
if (playerchats && strequals(#c,reset) && strequals(#g,Graal Royal Army)) {
x=this.originalx;
y=this.originaly;
}



Saying RESET will now make it default back to its original position. I couldn't test this and so I think it'll still attack players even when warped back. It doesn't stop it attacking a certain guild, but tell me what you think. :P
__________________


AIM: GrowlZ1010 | Y! IM: GrowlZ1010 | MSN: [email protected] | Email: [email protected]

- I use obscenely long words to befuddle my adversaries, therefore I am -

Current Favorite Quote: Real programmers don't document. If it was hard to write, it should be hard
to understand.

Last edited by GrowlZP2P; 01-04-2002 at 03:26 AM..
Reply With Quote