For a throwable weapon I am creating I would like the weapon to vanish from the hand when it is thrown. I've tried a few approaches and the only one I have working is to use SetWeaponVisibility. Unfortunately this will make any weapon in the hurler's off hand also vanish, which is less than ideal. Unequipping the item is not something I want to do because that will complicate things due to its properties and the engine automatically switching weapons from hand to hand. And you cannot SetScale on items, so making it really small doesn't work either. Nor does setting its appearance work.
I know that the Silver Sword in the OC seems to behave this way but in looking at the attack script for it it seemed to be using custom visual effects and strangely applying one when the sword is visible and removing it when the sword is hidden, which seems backwards to me. I will look more into that, but if someone else has already solved this problem I'd be interested in knowing how.
Thanks.
Regards





Retour en haut






