VarsityPuppet

Members
  • Content Count

    2,290
  • Joined

  • Last visited

  • Days Won

    161

VarsityPuppet last won the day on December 29 2022

VarsityPuppet had the most liked content!

Community Reputation

1,085 The Chosen One

About VarsityPuppet

  • Rank
    Jedi Master

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

156,366 profile views

Single Status Update

See all updates by VarsityPuppet

  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);

    }

    }