Thread: My DtS/MoT mod
View Single Post
  #461  
Old 02-18-2010, 11:02 AM
forlik's Avatar
forlik forlik is offline
Approved Member
 
Join Date: Nov 2008
Location: Minsk, Belarus
Posts: 450
Default

Quote:
Originally Posted by Liz Shaw View Post
Uh... I guessed!


Quote:
Originally Posted by Liz Shaw View Post
It should have been WEAPON_SLOT_MACHINEGUN! But still, the rifle isn't removed!
Yes. The rifle slot is Actor.WEAPON_SLOT_MACHINEGUN.
I'm not sure that you using Actor.DropCurrentWeapon() correctly.
I can found examples with Level.GetPlayer(), not with another actors.
Perhaps this method can work with player only
Reply With Quote