Difference between revisions of "Is-in-box"

From FreeSpace Wiki
Jump to: navigation, search
m (revert)
m (Reverted edits by Jakes (Talk) to last revision by TopAce)
 
(No difference)

Latest revision as of 06:37, 13 October 2011

Whether an object is in the box specified. If a second ship is specified, the box is relative to that ship's reference frame. 
	1: Ships or wings to check
	2: Min X
	3: Max X
	4: Min Y
	5: Max Y
	6: Min Z
	7: Max Z
	8: Ship to use as reference frame (optional).

Comments

Somewhat similar to num-within-box in effect, but is-in-box can use a dynamic reference ship. Num-within-box requires a get object position SEXPs to make dynamic).