User Tools

Site Tools


prpl:getshiphullsectionbuilt

This is an old revision of the document!


<- PRPL reference <- Ships

GetShipHullSectionBuilt

ArgumentsResultNotation
int int int bool [int int int- bool]

Description

int ARG1: Ship UID
int ARG2: X coordinate of hull section.
int ARG3: Y coordinate of hull section

Gets the build state of a given hull section. If the X or Y coordinate our out of bounds for the rectangular array that holds the ship's hull sections, false is returned. If the referenced hull section does not exist, false is returned. For all other cells, the build state is returned.

Examples

GetShipHullSectionBuilt(<-ship 3 3) ->isBuilt 
prpl/getshiphullsectionbuilt.1482014294.txt.gz · Last modified: 2016/12/17 17:38 by planetfall