<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Generate buildings that are within the map only]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1744&amp;type=atom" />
	<updated>2021-04-03T23:40:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1744</id>
		<entry>
			<title type="html"><![CDATA[Re: Generate buildings that are within the map only]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7349#p7349" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Unfortunately, there is no smarter way.<br />If you have any suggestions on how to do this, I am always open for discussion.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-04-03T23:40:34Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7349#p7349</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Generate buildings that are within the map only]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7347#p7347" />
			<content type="html"><![CDATA[<p>I realize that some buildings outside the map are generated/created and only displayed/set-active when the user moves to their location, is there a way for me to stop them from creating buildings outside the map? Currently, I am checking if the building is within the map during OnBuildingCreated() and dispose of it if the building is outside of the map tile. Is there a smarter way to do this?</p>]]></content>
			<author>
				<name><![CDATA[zhenkai]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1561</uri>
			</author>
			<updated>2021-04-03T20:33:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7347#p7347</id>
		</entry>
</feed>
