Jump to content

Recommended Posts

So i want to make a character with asymmetrical hand, and the solution i came up with is to have a tool that the character will always be equipping be the other hand

im not sure how to implement it in code though

2 hours ago, Kyno said:

I didn't understand it quite well, you want to have an item bounded to the equip slot? if so, you can use:

inst.components.equippable:SetPreventUnequipping(true)

 

it works thank you!

however when the character is killed they would drop the equip, is there a way to prevent that? or just delete the item outright when somehow unequiped?

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...