- 
				Content Count220
- 
				Joined
- 
				Last visited
- 
				Days Won39
Everything posted by Logan23
- 
	
	looking at your script you sent , GetFirstObjectInInventory(oPC); is not recognized by the compiler 
- 
	
	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); } } 
- 
	
	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); } } 
- 
	
	what are base items and also how do i have it so im destroying any blaster, melee, or grenades? 
- 
	
	I'm in need of some Scripting help. I'm trying to remove any possible armor, grenades, weapons, ...from the inventory of the PC. So far i have only found a script that destroys all items in inventory including datapads and other items which i do not want to be destroyed. I seem to be hitting a wall in my search ..nothing seems to be working properly...and i can't help but to think to myself why doesn't the destroy script tag do the job..but nope,..something that i thought would be an easy script has lead to me looking for the pepo to relieve heart burn. Any help would be greatly appreciated. Thanks 
- 
	
	I'm in need of some Scripting help. I'm trying to remove any possible armor, grenades, weapons, ...from the inventory of the PC. So far i have only found a script that destroys all items in inventory including datapads and other items which i do not want to be destroyed. I seem to be hitting a wall in my search ..nothing seems to be working properly...and i can't help but to think to myself why doesn't the destroy script tag do the job..but nope,..something that i thought would be an easy script has lead to me looking for the pepo to relieve heart burn. Any help would be greatly appreciated. Thanks 

 
			