View Single Post
  #5  
Old 05-10-2007, 04:22 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Crow View Post
Its not really fixed if you use ganis. For example a gani for a tree...if the npc itself disappears (the part of a gani that normally blocks), the rest of it will also disappear. I just used setshape2 on Esteria to fix this. That should work well
Not quite in my case..

PHP Code:
//#CLIENTSIDE
function onCreated()
{
  
setImgPart(image, 4*16, 13*16, 7*16, 5*16);
  
showImg(200, image, x - 4, y - 13);
  
changeImgPart(200, 0, 0, getImgWidth(image), getImgHeight(image) - (3*16));
  
changeImgMode(200, 1);

  
setShape2(5, 4, {
    
0, 22, 22, 22, 0,
    
22, 22, 22, 22, 22,
    
22, 22, 22, 22, 22,
    
22, 22, 22, 22, 22
  
});
  
drawUnderPlayer();
  
setTimer(.05);
}

function 
onTimeOut()
{
  if (
player.x in |x - 4, x + 6| && player.y in |y - 13, y|) changeImgColors(200, 1, 1, 1, .5);
  else 
changeImgColors(200, 1, 1, 1, 1);
  
  
setTimer(.05);
} 
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote