tm-dashboard icon indicating copy to clipboard operation
tm-dashboard copied to clipboard

Give dashboard infos on a ghost in a mediatracker map

Open GreepTheSheep opened this issue 3 years ago • 1 comments

(copy-pasted from the Discord) when you trigger the gps or another mediatracker that have a ghost and a camera on the ghost, give dashboard to him instead of ours

GreepTheSheep avatar Jul 10 '21 17:07 GreepTheSheep

Looks like the entity ID for ghosts in the mediatracker can be found in CGameCtnMediaBlockEntity pointed at from offset +240. This is kind of an arbitrarily high number, so while this is 100% possible, stability is not easily achievable using this method. Perhaps there's a different more reliable way of getting the entity ID of a mediatracker ghost.

codecat avatar Jul 12 '21 09:07 codecat