View Single Post
  #2  
Old 05-24-2001, 04:35 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
onwater isnt like it sets the animation to it ..

(might be buggy just posted it here , not tested)

this wont 'act' like its on grass but it looks like ur on grass.

//1.5 to x and 1.5 to y to check if player is on in the water
if (onwater(playerx+1.5,playery+1.5)) {
//check to see if player is moving
if (keydown(0)||keydown(1)||keydown(2)||keydown(3)) {
//if so make him the walk gani
if (!strequals(#m,walk)) { setani walk,; }
}
//else idle gani
else { if (!strequals(#m,idle)) { setani idle,; } }
}
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote