Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
Sort_Func
Category:
Objects/Search
Since engine version:
9.9.9.9 LC
Description
The Sort_Func function is used to sort search results from
FindObjects
. It sorts according to the return value of a function.
Syntax
array
Sort_Func (
string
f,
any
...);
Parameters
f:
The search function.
...:
[optional] Further search functions.
Example
"Hier könnte ein passendes Codebeispiel stehen"
Hier könnte Ihre Funktionsbeschreibung stehen
See also:
FindObject
,
FindObject2
,
FindObjects
,
Sort_Distance
,
Sort_Mass
,
Sort_Multiple
,
Sort_Random
,
Sort_Reverse
,
Sort_Speed
,
Sort_Value
Fulgen, 13th August 2016
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script