Thread: Face Hits
View Single Post
  #13  
Old 05-23-2006, 02:24 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
You need to call <node>.remove() on the weapon object. Save the weapon object handle somewhere and call remove() on it in the removeAvatar() function. You can save a weapon handle by calling avatar.weapon = myphone in your getWeapon() function. When you need to remove the weapon call avatar.weapon.remove().
Reply With Quote