Thread: -keyNOTdown(i)
View Single Post
  #1  
Old 01-06-2004, 04:24 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
I thiiiink the original poster's enquire was about a function that would tell him whether any of the keys 0-3 was pressed, so he could unset his walking gani accordingly... so I suppose the most sensible thing to do is
NPC Code:
walking = false;
for (d = 0; d < 4; d ++) {
if (keydown(d)) {
do_walking_stuff();
walking = true;
}
}
tokenize idle walk;
setani #t(walking),;

Reply With Quote