Thread: setimgpart
View Single Post
  #14  
Old 07-22-2001, 02:25 AM
Cybnext_Design Cybnext_Design is offline
Registered User
Join Date: Jun 2001
Posts: 244
Cybnext_Design is on a distinguished road
Send a message via AIM to Cybnext_Design
Here is how you would show the 4 directions of a bomy:

NPC Code:

setgif bomy_chamo3.gif;
if (playerdir==0) {
setgifpart 0,0,48,48;
}
if (playerdir==1) {
setgifpart 48,0,48,48;
}
if (playerdir==2) {
setgifpart 96,0,48,48;
}
if (playerdir==3) {
setgifpart 144,0,48,48;
}

__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T
Reply With Quote