Skip to content
nyfrk edited this page Feb 2, 2022 · 1 revision

ISettlers4Api::GetMaxSelection method

Get the maximum number of settlers (warriors and the like) that the player may select.

By default players can select up to 100 settlers. The function ISettlers4Api::SetMaxSelection may change that. If you are interested in how many settlers are currently selected see ISettlers4Api::GetSelection instead.

Syntax

DWORD ISettlers4Api::GetMaxSelection();

Parameters

none

Return value

The maximum amount of settlers that a player may currently select. By default this is 100.

Remarks

none

Requirements

Minimum API Level 2.0.0
Target Edition any
Header S4ModApi.h
Library S4ModApi.lib
DLL S4ModApi.dll

See also

ISettlers4Api

ISettlers4Api::SetMaxSelection

ISettlers4Api::GetSelection

ISettlers4Api::RemoveSelection

ISettlers4Api::ClearSelection

Clone this wiki locally