View Single Post
  #1  
Old 02-05-2002, 08:37 PM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Trigger Action and Timevar Help Please

Please help:
// NPC made by Poogle
if (playerenters) {
setcharani licookie-normal,;
}
if (actionSprikels){
this.procent+=1;
message #v(this.procent) %;
}
if (this.procent=100){
playerrupees = playerrupees+1;
x = 33;
y = 18;
set donecookie;
this.procent=0;
}
while (donecookie) {
setcharani licookie-sprinkels,;
x = 26;
y = 25;
unset donecookie;
}

AND heres the weapon

toweapons Sprikels;
if (isweapon) {
set sprinkels;
sleep 1000000;
say2 You ran out of#bsprinkels!;
unset sprinkels;
destroy;
}
if(weaponfired){
triggeraction playerx,playery,Sprikels,;
}

Weapon like that for easy testing.
Reply With Quote