I recommend you ask Conan or someone for specifics. I'm not the most proficient in this area of modding.
But I think the container raycast would be fine. I don't think you'd want specifically the player's theta. If you want to simulate a cone search, you'd want to get the angle between the player's theta/forward facing and the vector to the target.