Thread: onActionGrab
View Single Post
  #3  
Old 08-24-2006, 09:09 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
The action of Grab is usually made custom. You can try something like this - it doesnt allow you to hold down A and must/should be in a timeout.

PHP Code:
  if (keydown(6))
  {
    if (
this.grab == false && player.ani == "grab")
    {
      
triggeraction(player.1.5 vecx(player.dir)*2player.1.5 vecy(player.dir)*2"grab"player.accountplayer.guild);
      
this.grab true;
    }
  }
  else 
this.grab false
Reply With Quote