-
Posts
559 -
Joined
-
Last visited
DarthStoney's Achievements
Newbie (1/14)
10
Reputation
Single Status Update
See all updates by DarthStoney
-
I used this to remove the blaster from HK47 when entering the EH before the torture scene
void main() {
object oHK47 = GetObjectByTag("HK47", 0);
{
object oRWeapItem = GetItemInSlot(5, oHK47);
if (GetIsObjectValid(oRWeapItem)) {
AssignCommand(oHK47, ActionUnequipItem(oRWeapItem, 0));
}
oRWeapItem = GetItemInSlot(4, oHK47);
if (GetIsObjectValid(oRWeapItem)) {
AssignCommand(oHK47, ActionUnequipItem(oRWeapItem, 0));
}
}
}
I believe all the slots are numbered 4 and 5 and "2" is 18 and 19.