i've created two methods to help me use
SelectiveGhosting.dll without much hassle:
this allows me to unghost something to the client, and if i need to reghost something to the client that has been unghosted i am able to do this as well. to detect when the player enters first person, we can use the
Player::isFirstPerson method
this loop is all the magic. the
isVisible field tells us if the orb is visible to our owner client or not, and combined with checks for first person we are able to automatically hide the orb somewhat smoothly. something to note is this only affects the owning client since that is what i needed out of this medic orb, but you could use the same code to make something invisible to multiple clients at once
decoy player balloon (not stolen from metal gear solid 5 (stolen from metal gear solid 5))