User Tools

Site Tools


prpl:getallshipsinrange

<- PRPL reference <- Everything Else 2

GETALLSHIPSINRANGE

ArgumentsResultNotation
Coordinates, Range, Square? List of All Ships in Range [ x1, y1, f1, b1 - List ]

Description

Returns a list of all UIDs of the ships it can find within a specified range.

Examples

	i1 = GetIntFromStack(); 
	f1 = GetFloatFromStack(); 
	gsy = GetIntFromStack(); 
	gsx = GetIntFromStack(); 
	stack.Push(new Data(units))
 
        0 0 50 false GetAllShipsInRange ->Ships //Returns a list of all the UIDs of the ship found within a circle range of 50 starting from 0,0
prpl/getallshipsinrange.txt · Last modified: 2016/12/21 06:42 by Oblivion