-
Notifications
You must be signed in to change notification settings - Fork 5
GetPlayerTribe
nyfrk edited this page Feb 3, 2022
·
2 revisions
Get the tribe identifier of a player.
S4_TRIBE_ENUM ISettlers4Api::GetPlayerTribe(
DWORD player
);
player
The player who issues the command. Use 0 (zero) to issue this event as the local player.
The method will return one of the following values.
Value | Description |
---|---|
S4_TRIBE_NONE 255 |
An error occured and the tribe could not be retrieved. |
S4_TRIBE_ROMAN 0 |
The player is playing the romans. |
S4_TRIBE_VIKING 1 |
The player is playing the vikings. |
S4_TRIBE_MAYA 2 |
The player is playing the mayas. |
S4_TRIBE_DARK 3 |
The player is playing the vikings. |
S4_TRIBE_TROJAN 4 |
The player is playing the trojans. |
none
Minimum API Level | 1 |
Target Edition | HistoryEdition MD5: C13883CBD796C614365AB2D670EAD561 |
Header | S4ModApi.h |
Library | S4ModApi.lib |
DLL | S4ModApi.dll |