|
|
|
Re: Remove weapon? |
Wed, 14 December 2016 03:14   |
Kallix289
Messages: 14 Registered: November 2016
|
Junior Member |
|
|
Ok I have been trying,
if Inventory.GetNumberOfItemsOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordBaronSlayer') > 1 then
Inventory.RemoveItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordBaronSlayer')
return nil
end
for Hours and will continue to try but if someone could help me, I would greatly appreciate i
[Updated on: Wed, 14 December 2016 11:32] Report message to a moderator
|
|
|
|
Re: Remove weapon? |
Thu, 15 December 2016 14:24   |
Kallix289
Messages: 14 Registered: November 2016
|
Junior Member |
|
|
Thanks for the reply, I'm new at this but still doesn't work. I don't know why but the only things that seem to work are the debug commands
[Updated on: Thu, 15 December 2016 19:12] Report message to a moderator
|
|
|
Re: Remove weapon? |
Sat, 17 December 2016 01:29   |
Kallix289
Messages: 14 Registered: November 2016
|
Junior Member |
|
|
I was putting it in the wrong order. I added all the weapons and removed the ones that you get from playing through, also limited edition weapons
ScriptActivation[ScriptCode.QU000].AbleToRun=function ()
Debug.GiveAllMeleeWeapons()
Inventory.RemoveItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordInquisitor')
Inventory.RemoveItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordChanneler')
Inventory.RemoveItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordShardborne')
Inventory.RemoveItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordBaronSlayer')
Inventory.RemoveItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordWolfsbane')
Inventory.RemoveItemOfType(GetLocalHero(), 'ObjectInventoryLegendaryHammerChampion')
Inventory.RemoveItemOfType(GetLocalHero(), 'ObjectInventoryLegendaryHammerAbsolver')
Debug.GiveAllRangedWeapons()
Inventory.RemoveItemOfType(GetLocalHero(), 'ObjectInventoryLegendaryPistolGnomewrecker')
Debug.AddAllClothing()
Debug.AddAllClothingF2()
Debug.AddAllClothingAccessories()
Debug.AddAllHairstyles()
Debug.AddAllClothingSuits()
return nil
end
[Updated on: Sat, 17 December 2016 01:31] Report message to a moderator
|
|
|
|
|
|