Control Module - Selection - Controls players who have a selection planner, mostly event handlers
utils.event |
utils.global |
on_player_selection_start | When a player enters selection mode |
on_player_selection_end | When a player leaves selection mode |
start(player, selection_name[, single_use=false]) | Let a player select an area by providing a selection planner |
stop(player) | Stop a player selection by removing the selection planner |
get_arguments(player) | Get the selection arguments for a player |
is_selecting(player[, selection_name]) | Test if a player is selecting something |
on_selection(selection_name, handler) | Filter on_player_selected_area to this custom selection, appends the selection arguments |
on_alt_selection(string, function) | Filter on_player_alt_selected_area to this custom selection, appends the selection arguments |
When a player enters selection mode
Event Parameters:When a player leaves selection mode
Event Parameters:Let a player select an area by providing a selection planner
Parameters:Stop a player selection by removing the selection planner
Parameters:Get the selection arguments for a player
Parameters:Test if a player is selecting something
Parameters:Filter on_player_selected_area to this custom selection, appends the selection arguments
Parameters:Filter on_player_alt_selected_area to this custom selection, appends the selection arguments
Parameters: