[DiscordArchive] ```Converting Ballista.m2
[DiscordArchive] ```Converting Ballista.m2
Archived author: robinsch • Posted: 2022-10-17T18:03:51.248000+00:00
Original source
> Player::CanEquipItem
Archived author: robinsch • Posted: 2022-10-17T18:03:57.168000+00:00
Original source
In there
Archived author: <o> • Posted: 2022-10-17T18:04:21.939000+00:00
Original source
yep, canequipitem allows you pretty much full customization for what items you're allowed to equip
Archived author: <o> • Posted: 2022-10-17T18:04:30.555000+00:00
Original source
works for other slots as well
Archived author: Crow • Posted: 2022-10-17T18:09:54.354000+00:00
Original source
my code above doesnt allow me to ever equip a shield while using a polearm, bah
Archived author: Crow • Posted: 2022-10-17T18:10:05.262000+00:00
Original source
gonna check out your suggestion, canequipitem
Archived author: robinsch • Posted: 2022-10-17T18:10:49.869000+00:00
Original source
ofc you code doesnt allow it because it does nothig else than setting the variable.
Archived author: robinsch • Posted: 2022-10-17T18:11:12.710000+00:00
Original source
You need to write the code allowing you to equip these items in ```Player::CanEquipItem```
Archived author: robinsch • Posted: 2022-10-17T18:12:06.157000+00:00
Original source
and also patch some place where equipping these items will modify the slot it goes to.
Archived author: robinsch • Posted: 2022-10-17T18:12:25.570000+00:00
Original source
> FindEquipSlot