Skip to content

kbGetPopSlots

1. Description

Signature of kbGetPopSlots

int kbGetPopSlots(int playerID, int protoUnitID);

This function returns how much population space the given proto unit occupies when it's on the map. If the proto unit doesn't occupy any population space, the function returns 0.

2. Example

This section is a work in progress.