User Tools

Site Tools


prpl:getnearesttarget

This is an old revision of the document!


<- PRPL reference <- Everything Else 2

GETNEARESTTARGET

ArgumentsResultNotation
[ - ]

Description

Examples

	i8 = GetIntFromStack(); //onlyEnemyShip 
	i7 = GetIntFromStack(); //excludeVirtual 
	i6 = GetIntFromStack(); //excludeNormal 
	i5 = GetIntFromStack(); // bool for find untargeted particle 
	i4 = GetIntFromStack(); // bool for enemy 
	i3 = GetIntFromStack(); // range in cells 
	i2 = GetIntFromStack(); // cell y 
	i1 = GetIntFromStack(); // cell x 
			stack.Push(new Data(pb.UID)); 
		} else { 
			stack.Push(new Data(-1)); 
 
prpl/getnearesttarget.1480721644.txt.gz · Last modified: 2017/07/21 20:41 (external edit)