Targeting A Prop_Static With Lua

Hi Facepunch,

What I’m Trying to Achieve
I’m trying to target a prop_static in a subway station so that pressing e on it will activate a HUD, take the player’s money away, and give the player a train ticket.
Specifically for this thread, however, I’m only looking for a way to target the prop_static.

What I’ve Tried
I tried using util.TraceEntity( tracedata, ent ); however, this did not work since it just returned the worldspawn entity.

Thank You in Advance!

This is not possible since its baked into the map. The best you can do is make an invisible dummy entity around it to make it useable.

Sounds good. Thank you.