Author Topic: Detecting if a player is within a certain range of a brick  (Read 917 times)

Im trying to find out how would i detect if the player is within a certain range of a Custom brick.
and people say look at Zone events, if some one could just add notes to the zone events code it would help


depending on what you're trying to accomplish, raycasts/container searches may not be the best solution

so what are you actually trying to do?

If it's a custom brick and the player detection is it's primary functionality, you may want to add these bricks into a SimSet, and then loop through that SimSet with radius searches from each one to find player objects.

depending on what you're trying to accomplish, raycasts/container searches may not be the best solution

so what are you actually trying to do?
ok its for my fallout RP, it will detect players within a certain range and +1 raditation for every second. never messed with player detection sooo i dont know how to detect

Triggers are a better option.

Triggers are a better option.
the bank bricks from cityrpg uses triggerzones