Method Player:GetNearbyGameObject [-] [+]
Returns the closest GameObject to the Player.
Synopsis
gameobject = Player:GetNearbyGameObject()
Arguments
None.
Returns
GameObject gameobject- See method description.
Returns the closest GameObject to the Player.
gameobject = Player:GetNearbyGameObject()
None.
GameObject gameobject
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).