qt-agistudio/help/set_priority.html

23 lines
1.0 KiB
HTML
Raw Permalink Normal View History

2019-05-01 17:46:38 -04:00
<HTML>
<HEAD>
<TITLE>set.priority</TITLE></HEAD>
<BODY>
<h1>set.priority</h1>
<B>Category</B><p>
<a href="object_commands.html">Object/view commands</a><p>
<B>Syntax</B><p>
<p>
set.priority(oA,PRI);<p>
<B>Description</B><p>
<p>
Object oA's priority is set to PRI. The object keeps this priority wherever it goes on the screen.<p>
To change it back so the priority is dependent on the object's position, use the <a href="release_priority.html">release.priority</a> command.<p>
Note: If the object's priority is 15, it ignores all control lines and blocks, and thus can move anywhere on the screen below the horizon. If the object is ego (object 0), then flags 0 and 3 are no
longer set according to whether ego is on a control line of colour 3 or 2. After this, if the object's priority is released or set to something lower than 15, it returns to it's normal behaviour.
<p>
<B>See also</B><p>
<a href="set_priority_v.html">set.priority.v</a><p>
<a href="release_priority.html">release.priority</a><p>
<a href="priorities.html">Priorities</a><p>
</BODY></HTML>