Thread: disable sword
View Single Post
  #18  
Old 06-12-2003, 06:03 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by Chicken_l33t
// NPC made by Chicken NaNa
if (timeout || playerenters){
timeout = 0.05;
if (keydown2(keycode(S),true) || keydown(5))
{
setsword nosword.png,0;
replaceani sword,idle;
setplayerprop #c,Hmm;
}
}

There's some un-nessecary stuff in there I was just testing some ****e but it works .
Why use a timeout and set the sword each time as well as replace the ani each time? That seems rather inefficient.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote