Jump to content

Home

DarthStoney

Members
  • Posts

    559
  • Joined

  • Last visited

Personal Information

  • Web Browser
    IE8
  • Resolution
    1024x768

Contact Information

  • Homepage
    http://www.createforum.com/tslrcm/

DarthStoney's Achievements

Newbie

Newbie (1/14)

10

Reputation

Single Status Update

See all updates by DarthStoney

  1. 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.

×
×
  • Create New...