Jump to content

Recommended Posts

Posted

Checkout GenericBrawlScript and quest

 

You cant stop the player re-equipping a weapon, but you can probnably riff on GenericBrawlPlayerScript myQuest.CheatingStage > Stage 150 "Player Cheats"

Posted

You can prevent equip with a reference alias using the onItemEquipped event:

 

Event OnItemEquipped(Form akBaseObject, ObjectReference akReference)
  if akBaseObject as Weapon
      Self.GetActorReference().UnequipItem(akBaseObject)
      Debug.Notification("No weapons allowed.")
  endIf
endEvent
Posted

Some other ideas that I have used:

 

Silently remove all weapons from the player and then give them back. Make sure the akOtherContainer is persistent so it doesnt suddenly reset.
pPlayerREF.RemoveItem(pObjectTypeWeapon, aiCount = -1, abSilent = True, akOtherContainer = Alias_HiddenContainer.GetReference())
pPlayerREF.RemoveItem(pObjectTypeAmmo,   aiCount = -1, abSilent = True, akOtherContainer = Alias_HiddenContainer.GetReference())
Or add a perk that suppresses all weapon outgoing damage [ ModWeaponAttackDamage ] Mult Value 0.0 on Weapon [ HasKeyword ObjectTypeWeapon ]
Which works because UnarmedHuman is not included in keyword ObjectTypeWeapon.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...