Craig Martin

(Official) LUA Scripting Documentation

get_gamer_count_in_radius

Get the total number of enabled gamers currently positioned inside a spherical region.


Spec:

get_gamer_count_in_radius(
	long x,
	long y,
	long z,
	double radius)

Parameters

Returns


Example

local x,y,z = get_pos()
local gamer_count = get_gamer_count_in_radius(x,y,z,100)

This example gets the number of gamers within a 100 block radius of the context actors world position


Incomplete

This documentation is incomplete


back