bead-v

Premium Member
  • Content Count

    589
  • Joined

  • Last visited

  • Days Won

    18

bead-v last won the day on January 29 2020

bead-v had the most liked content!

Community Reputation

251 Jedi Grand Master

About bead-v

  • Rank
    Evil Malachor Overlord

Profile Information

  • Gender
    Male
  • Location
    Slovenia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Single Status Update

See all updates by bead-v

  1. Trying to get this to work...

     

     

     

    void main() {

     

     

     

    object oPC = GetFirstPC();

    //object oInvent = GetFirstObjectInInventory(oPC);

    object oItem = GetFirstObjectInInventory(oPC);

     

     

    while(oItem != OBJECT_INVALID){

     

     

     

     

    //if (GetIsObjectValid(oItem)) {

     

     

    int iTypeR = GetBaseItemType(oItem);

     

     

     

     

    if ((iTypeR== BASE_ITEM_LIGHTSABER)

    || (iTypeR== BASE_ITEM_DOUBLE_BLADED_LIGHTSABER)

    || (iTypeR== BASE_ITEM_SHORT_LIGHTSABER)

    || (iTypeR== BASE_ITEM_LIGHTSABER)

    || (iTypeR== BASE_ITEM_DOUBLE_BLADED_LIGHTSABER)

    || (iTypeR== BASE_ITEM_SHORT_LIGHTSABER))

    {

     

     

    DestroyObject(oItem );

     

    }

     

    //oInvent = GetNextObjectInInventory(oPC);

    //object oItem = GetNextObjectInInventory(oPC);

    }

    }