Skip to content

Collect Characters

Variables ยป Collect Characters

Description

Collects all Characters that within a certain radius of a position

Parameters

Name Description
Origin The position where the rest of the game objects are collected
Max Radius How far from the Origin the game objects are collected
Min Radius How far from the Origin game objects start to be collected
Store In List where the collected game objects are saved
Filter Checks a set of Conditions with each collected game object

Example 1

Note that in most cases it is not desirable to set the Min Radius to 0. Doing so will also collect game objects at a distance of 0 from the Origin. For example, if we want to collect all enemies around the Player and we set a Min Radius of 0, the Player will also be collected because it's a Character at a distance 0 from himself

Keywords

Gather Get Set Array List Variables