This file is indexed.

/usr/share/doc/sludge/SLUDGEDevKitHelp/addCharacter.html is in sludge-doc 2.1.2-3build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<TITLE>addCharacter</TITLE>
  <link rel="stylesheet" type="text/css" href="style.css" />
</head>
<BODY>
<HR>
<div align="center"><img id="headerGraphic" src="images/sludge300.png" alt="SLUDGE"/></div>
<h2>addCharacter</h2>
<HR>


<H3>Syntax:</H3>

<P>
<pre class="syntax">addCharacter (<i>thisObject, atX, atY, thisCostume</i>);</pre>
</P>

<H3>Purpose:</H3>

<P>
Adds a character on the screen which represents <i>thisObject</i>. The character can then be animated using the <a href="animate.html">animate</a> function, moved using <a href="moveCharacter.html">moveCharacter</a> and <a href="forceCharacter.html">forceCharacter</a> and so on. There is no specific character data type; the character can be controlled by referencing the object type <i>thisObject</i> which the character represents.
</P>

<P>
The <i>thisCostume</i> parameter must be a complete costume (the result of a call to the <a href="costume.html">costume</a> function) or a single animation (the result of a call to the <a href="anim.html">anim</a> function).
</P>

<H3>Return value:</H3>

<P>
No return value.
</P>

<H3>Example:</H3>

<P>
<pre>addCharacter (fakeEgo, 200, 300, anim ('ego.duc', 0, 1, 2));</pre>
</P>

<P>
<pre>var myCostume = costume (anim ('ego2.duc', 0), anim ('ego.duc', 1, 2, 3), anim ('ego.duc', 4, 5, 6));</pre>
</P>

<P>
<pre>addCharacter (ego, 500, 300, myCostume);</pre>
</P>

<H3>See also:</H3>

<P>
<a href="Object_Types_as_Characters.html">Object Types as Characters</a>
</P>

<P>
<a href="floatCharacter.html">floatCharacter</a>
</P>

<P>
<a href="forceCharacter.html">forceCharacter</a>
</P>

<P>
<a href="hideCharacter.html">hideCharacter</a>
</P>

<P>
<a href="isCharacter.html">isCharacter</a>
</P>

<P>
<a href="jumpCharacter.html">jumpCharacter</a>
</P>

<P>
<a href="moveCharacter.html">moveCharacter</a>
</P>

<P>
<a href="removeAllCharacters.html">removeAllCharacters</a>
</P>

<P>
<a href="removeCharacter.html">removeCharacter</a>
</P>

<P>
<a href="say_and_think.html">say and think</a>
</P>

<P>
<a href="setCharacterDrawMode.html">setCharacterDrawMode</a>
</P>

<P>
<a href="setCharacterExtra.html">setCharacterExtra</a>
</P>

<P>
<a href="setCharacterWalkSpeed.html">setCharacterWalkSpeed</a>
</P>

<P>
<a href="setCostume.html">setCostume</a>
</P>

<P>
<a href="showCharacter.html">showCharacter</a>
</P>

<P class="copyright-notice">SLUDGE and this SLUDGE documentation are <A HREF="Copyright.html">copyright</A> Hungry Software and contributors 2000-2011
</P>

<HR>
</BODY>
</html>