<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Arrays]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=574&amp;type=atom"/>
	<updated>2013-01-30T08:49:40Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=574</id>
		<entry>
			<title type="html"><![CDATA[Re: Arrays]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3618#p3618"/>
			<content type="html"><![CDATA[<p>yes i think</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-01-30T08:49:40Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3618#p3618</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arrays]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3608#p3608"/>
			<content type="html"><![CDATA[<p>Cool, then. A = {timer = 0, rotate = 0, move = 0}</p><p>So A.timer will be 0 and rotate 0?</p>]]></content>
			<author>
				<name><![CDATA[Pär]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1252</uri>
			</author>
			<updated>2013-01-29T21:07:59Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3608#p3608</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arrays]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3606#p3606"/>
			<content type="html"><![CDATA[<p>with arrays, or tables, you use indices or names :</p><p>A[&quot;x&quot;] = 10<br />similar to : A.x = 10</p><p>or :</p><p>A[1] = 2<br />A[2] = 3<br />etc</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-01-29T20:54:10Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3606#p3606</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arrays]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3603#p3603"/>
			<content type="html"><![CDATA[<p>Oh nevermind. </p><p>I mean tables. How does tables work? </p><p>Can you assign a name to a table like</p><p>A = {}</p><p>And have A1, A2, A3 and so on? I&#039;m trying to make NPC&#039;s and they are hard to code if I need to make everyone in code.</p>]]></content>
			<author>
				<name><![CDATA[Pär]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1252</uri>
			</author>
			<updated>2013-01-29T19:43:19Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3603#p3603</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arrays]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3601#p3601"/>
			<content type="html"><![CDATA[<p>I don&#039;t understand what you mean, what is A1 ?</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-01-28T21:37:09Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3601#p3601</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arrays]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3598#p3598"/>
			<content type="html"><![CDATA[<p>So you cant have multiple A&#039;s like A = {1, 2, 3, 4, 5}</p><p>And A[1] = A1 ?</p>]]></content>
			<author>
				<name><![CDATA[Pär]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1252</uri>
			</author>
			<updated>2013-01-28T20:03:53Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3598#p3598</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arrays]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3596#p3596"/>
			<content type="html"><![CDATA[<p>a classic array works like that : </p><p>A = {12, 4, 3, 2, 8}</p><p>in lua indices starts at 1 :</p><p>A[1] is 12<br />A[2] is 4<br />etc</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-01-27T23:12:37Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3596#p3596</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Arrays]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3595#p3595"/>
			<content type="html"><![CDATA[<p>Hey! Can you show me how to use arrays? As far as I understand:</p><p>A = {}</p><p>This will give me as much A0, A1, A2, A3, A4 as I need but what I don&#039;t understand is when you want separate HP values and stuff like that.</p><p>Say </p><p>A = {hpval} </p><p>Do I then write A.hpval = 1 when I want the first A&#039;s hpval to be 1?</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[Pär]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1252</uri>
			</author>
			<updated>2013-01-27T21:32:35Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3595#p3595</id>
		</entry>
</feed>
