Release.priority

From AGI Wiki
Revision as of 21:42, 29 December 2013 by Andrew Branscom (talk | contribs)
Jump to navigationJump to search

release.priority(n);

Turns on the automatic priority choice for the object n. The priority is set depending on the vertical coordinate of the object. This way, as an object moves down it approaches the viewer. See section Priority bands and control lines for a table of y coordinates and the associated priorities.

< y < priority
0   48 4
  60 5
  72 6
  84 7
  96 8
  108 9
  120 10
  132 11
  144 12
  156 13
  168 14
<	y	<	priority
0		48	4
48		60	5
60		72	6
72		84	7
84		96	8
96		108	9
108		120	10
120		132	11
132		144	12
144		156	13
156		168	14

This way, as an object moves down it approaches the viewer.


AGI_Command_Reference_-_Object_Description_Commands#release.priority.28n.29.3B