Files
QtGameMaker/help/files/408_08_objects.html
T

62 lines
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Objects</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body background="images/back.gif">
<!--START-->
<h3>Objects</h3>
The following functions will give you information about an object:
<p>
<blockquote>
<tt><b>object_exists(ind)</b></tt>
Returns whether an object with the given index exists.<br>
<tt><b>object_get_name(ind)</b></tt>
Returns the name of the object with the given index.<br>
<tt><b>object_get_sprite(ind)</b></tt>
Returns the index of the default sprite of the object with
the given index.<br>
<tt><b>object_get_solid(ind)</b></tt>
Returns whether the object with the given index is default solid.<br>
<tt><b>object_get_visible(ind)</b></tt>
Returns whether the object with the given index is default visible.<br>
<tt><b>object_get_depth(ind)</b></tt>
Returns the depth of the object with the given index.<br>
<tt><b>object_get_persistent(ind)</b></tt>
Returns whether the object with the given index is persistent.<br>
<tt><b>object_get_mask(ind)</b></tt>
Returns the index of the mask of the object with the given
index (-1 if is has no special mask).<br>
<tt><b>object_get_parent(ind)</b></tt>
Returns index of the parent object of object ind (a negative value is returned if it
has no parent).<br>
<tt><b>object_is_ancestor(ind1,ind2)</b></tt>
Returns whether object <tt>ind2</tt> is an ancestor of object <tt>ind1</tt>.<br>
</blockquote>
<p>
<!--END-->
</body>
</html>
<!-- KEYWORDS
object_exists()
object_get_name()
object_get_sprite()
object_get_solid()
object_get_visible()
object_get_depth()
object_get_persistent()
object_get_mask()
object_get_parent()
object_is_ancestor()
-->