<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://npc-for-vcmp.sourceforge.io/wikiw/index.php?action=history&amp;feed=atom&amp;title=ReqeustClassAbs</id>
	<title>ReqeustClassAbs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://npc-for-vcmp.sourceforge.io/wikiw/index.php?action=history&amp;feed=atom&amp;title=ReqeustClassAbs"/>
	<link rel="alternate" type="text/html" href="https://npc-for-vcmp.sourceforge.io/wikiw/index.php?title=ReqeustClassAbs&amp;action=history"/>
	<updated>2026-06-07T05:14:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.5</generator>
	<entry>
		<id>https://npc-for-vcmp.sourceforge.io/wikiw/index.php?title=ReqeustClassAbs&amp;diff=1396&amp;oldid=prev</id>
		<title>127.0.0.1: /</title>
		<link rel="alternate" type="text/html" href="https://npc-for-vcmp.sourceforge.io/wikiw/index.php?title=ReqeustClassAbs&amp;diff=1396&amp;oldid=prev"/>
		<updated>2023-12-29T09:17:18Z</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;&amp;lt;poem style=&amp;quot;border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
This function was added in v1.8 and will not work in previous versions.&lt;br /&gt;
&amp;lt;/poem&amp;gt;&lt;br /&gt;
{{Welcome|&lt;br /&gt;
desc=Sets the absolute class to spawn. If npc is dead, then it will choose the specified class immediately.|&lt;br /&gt;
params=&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(classID)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;poem&amp;gt;::classID : The ID of the class (0,1,2,..) to spawn at.&amp;lt;/poem&amp;gt;|&lt;br /&gt;
example=&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
RequestClassAbs(9) ;//Choose class with ID = 9.&lt;br /&gt;
&amp;lt;/source&amp;gt;|&lt;br /&gt;
retvals=The function returns true on success and null on error (classID greater than 49 or npc not connected)|&lt;br /&gt;
note=This function can also be used when npc is not dead:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
RequestClassAbs(8) ;//Will spawn at class 8 next time npc dies&lt;br /&gt;
..&lt;br /&gt;
Suicide()  //doing suicide &lt;br /&gt;
SetTimerEx(&amp;quot;RequestClass&amp;quot;,4000,1);  //call requestclass after 4 seconds&lt;br /&gt;
&amp;lt;/source&amp;gt;|&lt;br /&gt;
relfuncs=*[[OnNPCClassSelect]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>
	</entry>
</feed>