Thread: Sizing HELP
View Single Post
  #2  
Old 07-30-2011, 04:08 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
If you use
PHP Code:
setshape(1widthinpixelsheightinpixels);
//for instance: this.setshape(1, 48, 48); 
this will set the blocking shape size of the NPC, then you could for instance re-adjust any ganis for the shape to be centred.
Unfortunately using showcharacter(); enforces a blocking shape of 32 x 32 pixels offset by 0.5 x and 1 y (same as players).
Reply With Quote