View Single Post
  #9  
Old 02-28-2002, 11:08 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
NPC Code:

if (playerenters&&hasweapon(yourweaponhere)){
toweapons yourweaponhere;
sleep .1;
destrory;
}



You may have to make the sleep just a tad bit longer. It should work though. Or in your weapon you could use:

NPC Code:

if (playerenters){
toweapons Destroying soon;
timeout=.05;
}
if (timeout&&hasweapon(Destroying soon)){
if (strequals(#L,levelname.graal)){
destroy;
}
timeout=.05;
}


You could use either of those two.
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote