File: GetObjectLayer.xml

package info (click to toggle)
openclonk 8.1-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 169,520 kB
  • sloc: cpp: 180,479; ansic: 108,988; xml: 31,371; python: 1,223; php: 767; makefile: 145; sh: 101; javascript: 34
file content (25 lines) | stat: -rw-r--r-- 1,013 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
  SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
  <func>
    <title>GetObjectLayer</title>
    <category>Objects</category>
    <subcat>Status</subcat>
    <version>7.0 OC</version>
    <syntax>
      <rtype>object</rtype>
    </syntax>
    <desc>Returns the layer the object is in.</desc>
    <remark>Layers in OC do not affect the drawing of objects onto the screen, but they affect the interaction of objects. Objects in different layers do not interaction with each other. You can for example use layers to make sure NPCs can not be killed or thrown out of the landscape by the players.</remark>
    <related>
	  <funclink>SetObjectLayer</funclink>
      <funclink>Find_Layer</funclink>
      <funclink>Find_AnyLayer</funclink>
      <funclink>FindObject</funclink>
      <funclink>FindObjects</funclink>
    </related>
  </func>
  <author>Maikel</author><date>2015-09</date>
</funcs>