View Single Post
  #5  
Old 07-17-2001, 10:42 PM
DuckyJ DuckyJ is offline
Registered User
Join Date: Jun 2001
Location: Maryland
Posts: 93
DuckyJ is on a distinguished road
Send a message via ICQ to DuckyJ Send a message via AIM to DuckyJ
wellfor putnpc what I liek to do to affect another one is
that you make a var that doesnt have this. on the front of it so

// I like arrays;

setarray myarray,1;

if (playersays(blah + 1)&&playerchats) {
myarray[0] = myarray[0] + 1;
}

and on the other npc

if (myarray[0] = 1) {
destroy;
}

// another script

int blah;
// I think this is how you declare it Not sure I dont do it much;
// you might not need to declare it but you do in C++ so try
// Anyways.
if (playertouchsme) {
blah = 0;
blah = blah + 1;
}

// On the other NPC

if (blah==1) {
destroy;
// Just an example;
}

// There you have a preety simple script, not sure it will work with
// NPC server though.
__________________
"Death is like being locked in a closet - locked away from life." - Me

"Sympathy is a Virtue, but only if your on the receiver side, otherwise, it's just another hole in your wallet." - Me

Ducky Vs The Devil
Devil:Give me your soul and I will give you anything.
Ducky:What happens when I give you my soul?
Devil:When you die you go straight to hell, no if ands or buts, but while your alive you get anything you want!
Ducky:Okay*signs soul certificate entitling the Devil to his soul*
Devil:Now whats the first thing you want?
Ducky:Too live forever.



Bill Clinton VS the Big Dubya
Bill:I get alot of *****.
Bush:I try to lower the eco-projects to keep gas in your car.
Bill:Im Democrat and I hate Doctors.
Bush:Im Republican and my daughter drinks alcohol and Im Proud of it!
Bill:Atleast I get some.
Bush:Look who won the election, then look at who almost got Impeached!
Bill:Whats Impeached? A Peach that was Imed?
Bush: Democraps...oops, did I just say that?
Bush:Monicas a fat pig.
Bill:SHES ONLY 200 POUNDS!
visit my LiveJournal