User Tools

Site Tools


ixe:irpl:unit:getrandpixeldatapos

This is an old revision of the document!


GetRandPixelDataPos

GetRandPixelDataPos(<-part <-pixelState <-sandDef)

Description

For a specified part, returns the vector world position of a random location that contains a part pixel in the specified pixelState and that is over the specified sandDef. The sandDef can be -1 to ignore the sand type. The pixelState should be one of: 0 = NONE, 1 = ONBOARD, 2 = INROUTE, 3 = DEAD

Examples

 
ixe/irpl/unit/getrandpixeldatapos.1737052612.txt.gz · Last modified: 2025/02/14 14:56 (external edit)