<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Factory_scripts</id>
	<title>Factory scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Factory_scripts"/>
	<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Factory_scripts&amp;action=history"/>
	<updated>2026-04-21T03:40:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Factory_scripts&amp;diff=2372&amp;oldid=prev</id>
		<title>Qrow: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Factory_scripts&amp;diff=2372&amp;oldid=prev"/>
		<updated>2026-03-03T23:55:46Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:55, 3 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Qrow</name></author>
	</entry>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Factory_scripts&amp;diff=2371&amp;oldid=prev</id>
		<title>interemmanuel&gt;Flozi: Category:Emmanuel</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Factory_scripts&amp;diff=2371&amp;oldid=prev"/>
		<updated>2013-03-08T16:16:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/index.php?title=Category:Emmanuel&quot; title=&quot;Category:Emmanuel&quot;&gt;Category:Emmanuel&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;big&amp;gt;FACTORY SCRIPT&amp;lt;/big&amp;gt;&lt;br /&gt;
:&amp;lt;sub&amp;gt;Factory are totally diferent synthax from mobile builder due to engine design:&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Basic code==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:local pad = piece &amp;quot;pad&amp;quot; --piece where the unit build is landed &lt;br /&gt;
:local nano = piece &amp;quot;nano&amp;quot; --piece where the nano particule come from&lt;br /&gt;
:function script.QueryBuildInfo ( ) return pad end&lt;br /&gt;
:function script.QueryNanoPiece ( ) return nano end&lt;br /&gt;
:function script.Activate()&lt;br /&gt;
:StartThread( product )&lt;br /&gt;
:end&lt;br /&gt;
&lt;br /&gt;
:function product()&lt;br /&gt;
:Signal(1)&lt;br /&gt;
:SetSignalMask(1)&lt;br /&gt;
:SetUnitValue ( 19,1)--ask evacuate area&lt;br /&gt;
:SetUnitValue ( 18,1)--switch the UnitDef Yardmap to open&lt;br /&gt;
:SetUnitValue ( 5,1)--start nano&lt;br /&gt;
:return 1&lt;br /&gt;
:end&lt;br /&gt;
&lt;br /&gt;
:function script.Deactivate() &lt;br /&gt;
:StartThread( endproduct )&lt;br /&gt;
:end&lt;br /&gt;
&lt;br /&gt;
:function endproduct()&lt;br /&gt;
:Signal(1)&lt;br /&gt;
:SetSignalMask(1)&lt;br /&gt;
:SetUnitValue ( 5,0)--end nano&lt;br /&gt;
:SetUnitValue ( 18,0)--switch the UnitDef Yardmap to close&lt;br /&gt;
:SetUnitValue ( 19,0)--stop to ask evacuate area&lt;br /&gt;
:return 0&lt;br /&gt;
:end&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
note: if the pad piece is more high than ground then the unit will fall when completed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===advanced script===&lt;br /&gt;
*can have arms with multiple nao emiter moving pad and checking the unit completion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--UnitDef tag involvd in the factory :--&lt;br /&gt;
:Builder = 1,--the unit build some static or mobile units&lt;br /&gt;
:WorkerTime = 999,--amount per second can be spent in build of metal &amp;amp; energy max&lt;br /&gt;
:CanBeAssisted=1,&lt;br /&gt;
:buildoptions = {product1,product2}&lt;br /&gt;
&lt;br /&gt;
[[Category:Emmanuel]]&lt;/div&gt;</summary>
		<author><name>interemmanuel&gt;Flozi</name></author>
	</entry>
</feed>