as the screen-shot, type of FindAncestorByType‘s return value is CoreObject,I can not find functions of Weapon class , only find CoreObject's functions. how convert "WEAPON" to Weapon class?
Unfortunately, as far as I know, this is not supported yet.