<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Faldon Forums - Creating a NPC]]></title>
		<link>https://www.faldon.org/topic/5178/</link>
		<description><![CDATA[The most recent posts in Creating a NPC.]]></description>
		<lastBuildDate>Fri, 16 Apr 2010 10:42:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Creating a NPC]]></title>
			<link>https://www.faldon.org/post/64418/#p64418</link>
			<description><![CDATA[<div class="quotebox"><cite>morphine wrote:</cite><blockquote><p>Just looks like java.</p></blockquote></div><p>The syntax yes, but sadly Pawn is all procedural.</p>]]></description>
			<author><![CDATA[dummy@example.com (Mr Spy)]]></author>
			<pubDate>Fri, 16 Apr 2010 10:42:53 +0000</pubDate>
			<guid>https://www.faldon.org/post/64418/#p64418</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating a NPC]]></title>
			<link>https://www.faldon.org/post/64396/#p64396</link>
			<description><![CDATA[<p>Just looks like java.</p>]]></description>
			<author><![CDATA[dummy@example.com (morphine)]]></author>
			<pubDate>Fri, 16 Apr 2010 03:06:25 +0000</pubDate>
			<guid>https://www.faldon.org/post/64396/#p64396</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating a NPC]]></title>
			<link>https://www.faldon.org/post/64386/#p64386</link>
			<description><![CDATA[<p>That syntax takes me back.&nbsp; Haven&#039;t looked at a script in years.</p>]]></description>
			<author><![CDATA[dummy@example.com (Mumblee)]]></author>
			<pubDate>Thu, 15 Apr 2010 23:17:29 +0000</pubDate>
			<guid>https://www.faldon.org/post/64386/#p64386</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating a NPC]]></title>
			<link>https://www.faldon.org/post/64377/#p64377</link>
			<description><![CDATA[<div class="quotebox"><cite>Mr Spy wrote:</cite><blockquote><p>Scripts run entirely serverside, would be bad if they didn&#039;t&nbsp; <img src="https://www.faldon.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /> </p><p>You have to use the inventory manipulation functions to remove items from inventory.</p><p>new gold = gsInvHasItem( sktid, 13, 100, 0, 0); // returns the inventory slot which contains the item or 0 if player doesn&#039;t have it.</p><p>if(gold != 0) { // player has it<br />gsInvDropItem(sktid, gold, 100); // removes 100 gold<br />gsInvSend(sktid); // notify player of the update</p><p>}</p></blockquote></div><p>I know they are all server side, just wanted to know if it was done at a later stage <img src="https://www.faldon.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>and thank you! <img src="https://www.faldon.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Rader)]]></author>
			<pubDate>Thu, 15 Apr 2010 21:02:03 +0000</pubDate>
			<guid>https://www.faldon.org/post/64377/#p64377</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating a NPC]]></title>
			<link>https://www.faldon.org/post/64374/#p64374</link>
			<description><![CDATA[<p>Scripts run entirely serverside, would be bad if they didn&#039;t&nbsp; <img src="https://www.faldon.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /> </p><p>You have to use the inventory manipulation functions to remove items from inventory.</p><p>new gold = gsInvHasItem( sktid, 13, 100, 0, 0); // returns the inventory slot which contains the item or 0 if player doesn&#039;t have it.</p><p>if(gold != 0) { // player has it<br />gsInvDropItem(sktid, gold, 100); // removes 100 gold<br />gsInvSend(sktid); // notify player of the update</p><p>}</p>]]></description>
			<author><![CDATA[dummy@example.com (Mr Spy)]]></author>
			<pubDate>Thu, 15 Apr 2010 20:58:29 +0000</pubDate>
			<guid>https://www.faldon.org/post/64374/#p64374</guid>
		</item>
		<item>
			<title><![CDATA[Creating a NPC]]></title>
			<link>https://www.faldon.org/post/64373/#p64373</link>
			<description><![CDATA[<p>Okay, I downloaded Spectres&#039; script editor. Took the sample scripts for npcs, made my own, Yadda yadda.</p><p>I have looked and looked, I haven&#039;t found a command that actually takes money from a player. Is that done server side? or what am I missing here?</p><p>Any help is appreciated, thanks.</p><p>-Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (Rader)]]></author>
			<pubDate>Thu, 15 Apr 2010 20:51:35 +0000</pubDate>
			<guid>https://www.faldon.org/post/64373/#p64373</guid>
		</item>
	</channel>
</rss>
