getTargetLocations

public Collection<Location> getTargetLocations(ScriptActionData scriptActionData)

Obtains the target locations for a script. Some scripts require locations instead of living entities, and this method obtains those locations from the potential targets.

Return

Validated location for the script behavior