<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://editthis.info/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://editthis.info/nwnx/?action=history&amp;feed=atom&amp;title=Functions_Module_Documentation</id>
		<title>Functions Module Documentation - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://editthis.info/nwnx/?action=history&amp;feed=atom&amp;title=Functions_Module_Documentation"/>
		<link rel="alternate" type="text/html" href="http://editthis.info/nwnx/?title=Functions_Module_Documentation&amp;action=history"/>
		<updated>2026-07-28T12:09:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.15.1</generator>

	<entry>
		<id>http://editthis.info/nwnx/?title=Functions_Module_Documentation&amp;diff=1497&amp;oldid=prev</id>
		<title>Tissa at 00:18, 20 April 2006</title>
		<link rel="alternate" type="text/html" href="http://editthis.info/nwnx/?title=Functions_Module_Documentation&amp;diff=1497&amp;oldid=prev"/>
				<updated>2006-04-20T00:18:30Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 00:18, 20 April 2006&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Get description of oObject. Currently only works for items.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Get description of oObject. Currently only works for items.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-07-28 12:09:47 --&gt;
&lt;/table&gt;</summary>
		<author><name>Tissa</name></author>	</entry>

	<entry>
		<id>http://editthis.info/nwnx/?title=Functions_Module_Documentation&amp;diff=1447&amp;oldid=prev</id>
		<title>Dougnoel at 20:10, 19 April 2006</title>
		<link rel="alternate" type="text/html" href="http://editthis.info/nwnx/?title=Functions_Module_Documentation&amp;diff=1447&amp;oldid=prev"/>
				<updated>2006-04-19T20:10:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Documentation and program are © by Ingmar Stieger (Papillon). Version 0.2 of 31.12.2003.&lt;br /&gt;
{|&lt;br /&gt;
|__TOC__&lt;br /&gt;
|valign=top|&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;border: 1px solid #8470FF; padding: .5em 1em; margin: 1em; background-color: #EEEEFF;&amp;quot;|&amp;lt;b&amp;gt;Author:&amp;lt;/b&amp;gt; Papillon&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Source:&amp;lt;/b&amp;gt; [http://nwnx.org/index.php?id=doc_functions NWNX Site]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
==What does this module do?==&lt;br /&gt;
&lt;br /&gt;
This is an experimental module that gives access to some new functions to use with items. Note the &amp;quot;experimental&amp;quot; ! You can use the functions, but they will likely crash your server if you don't use them properly (as demonstrated in the demo module &amp;quot;function_demo.mod&amp;quot;). Consider this a tech demo.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Licence&amp;lt;/b&amp;gt;&lt;br /&gt;
This module is distributed unter the terms of the GNU GENERAL PUBLIC LICENSE included in licence.txt.&lt;br /&gt;
&lt;br /&gt;
==Using the module==&lt;br /&gt;
===Importing the erf===&lt;br /&gt;
*1. Place the file &amp;quot;functions_include.erf&amp;quot; into the C:\\Neverwinternights\\NWN\\erf directory.&lt;br /&gt;
*2. In the toolset, open up the module into which you wish to install the scripts.&lt;br /&gt;
*3. Under the File Menu, click Import. A window will pop up.&lt;br /&gt;
*4. Make sure the contents of the C:\\Neverwinternights\\NWN\\erf directory are showing in the window&lt;br /&gt;
*5. Select &amp;quot;functions_include.erf&amp;quot; from the list&lt;br /&gt;
&lt;br /&gt;
The following script should now be imported: functions.&lt;br /&gt;
&lt;br /&gt;
===Using the new functions===&lt;br /&gt;
The functions below are implemented. Here is a lexicon containing information on their purpose and use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;void SetLockUnlockDC_(object oObject, int iDC)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the DC for unlocking oObject.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;int GetArmorAC_(object oObject)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get the AC of armor oObject&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;void SetArmorAC_(object oObject, int iAC)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the AC of armor oObject. Note: this will only be updated when the clients either leaves the game or the current area.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;void SetGoldPieceValue_(object oObject, int iValue)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the gold piece value of oObject&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;void SetTag_(object oObject, string sValue)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set tag of oObject to sValue Note: If you set change a tag, you won't be able to retrieve it with GetObjectObjectByTag() later on (in the same session, that is).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;string GetDescription_(object oObject)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get description of oObject. Currently only works for items.&lt;/div&gt;</summary>
		<author><name>Dougnoel</name></author>	</entry>

	</feed>