View Single Post
  #3  
Old 10-07-2012, 04:48 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
It's actually player.ani, not player.gani. Also, said variable points to an object. player.ani.name is the actual name of the current gani.

That stuff aside, your grab check will probably not work like this, since onPlayerTouchsMe() is fired before you have the chance to actually grab the object.
Reply With Quote