User Tools

Site Tools


prpl:getshipfromslot

This is an old revision of the document!


<- PRPL reference <- Ships

GetShipFromSlot

ArgumentsResultNotation
Slot ID Ship ID [ int - int ]

Description

int ARG1: Slot ID. Valid slot IDs are 0 to 23 inclusive.

Returns the Ship UID for any built ship associated with a given build slot. -1 is returned if the ship is not build (just having the CM placed counts as being build) or if the slot ID is invalid. -2 is returned when there is no ship build button at the given slot.

Examples

TODO 
prpl/getshipfromslot.1490854905.txt.gz · Last modified: 2025/02/14 14:56 (external edit)