User Tools

Site Tools


ixe:irpl:unit:getrandpixeldatapos

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.txt · Last modified: 2025/01/16 13:36 by Karsten75