<?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=Scripting_for_newbs</id>
	<title>Scripting for newbs - 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=Scripting_for_newbs"/>
	<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Scripting_for_newbs&amp;action=history"/>
	<updated>2026-04-21T05:41:17Z</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=Scripting_for_newbs&amp;diff=2417&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=Scripting_for_newbs&amp;diff=2417&amp;oldid=prev"/>
		<updated>2026-03-04T00:08:27Z</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 17:08, 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=Scripting_for_newbs&amp;diff=2416&amp;oldid=prev</id>
		<title>interanimation&gt;Flozi: recat (deprecate?)</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Scripting_for_newbs&amp;diff=2416&amp;oldid=prev"/>
		<updated>2013-03-21T09:25:21Z</updated>

		<summary type="html">&lt;p&gt;recat (deprecate?)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Scripting for Newbs=&lt;br /&gt;
&lt;br /&gt;
This is a reference guide for all of you out there that don&amp;#039;t know C++, or are unfamiliar with scriptor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;10&amp;gt; would be to angle 10 degrees.&lt;br /&gt;
[10] would be 10 spring units, look at the upspring model for examples.&lt;br /&gt;
&lt;br /&gt;
An example is: &lt;br /&gt;
&lt;br /&gt;
spin gun around y-axis speed [10] accelerate [2];&lt;br /&gt;
&lt;br /&gt;
In this example it would rotate the object &amp;quot;gun&amp;quot; around the y-axis &amp;quot;up and down&amp;quot; accelerating speed of 2 units per time, to a max speed of 10 units per time.&lt;br /&gt;
&lt;br /&gt;
Another thing to understand with Cob/Bos is that it has a few built-in scripts, such as:&lt;br /&gt;
&lt;br /&gt;
Activate()&lt;br /&gt;
&lt;br /&gt;
Which is called if the unit is set to on, via onoffable in the unit&amp;#039;s fbi file.&lt;br /&gt;
&lt;br /&gt;
Here is an example of a script for a metal extractor:&lt;br /&gt;
&lt;br /&gt;
piece base, top;&lt;br /&gt;
&lt;br /&gt;
#include &amp;quot;sfxtype.h&amp;quot;&lt;br /&gt;
#include &amp;quot;exptype.h&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Activate()&lt;br /&gt;
{&lt;br /&gt;
move base to y-axis [4];&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Deactivate()&lt;br /&gt;
{&lt;br /&gt;
move base to y-axis [0];&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
SpinTop()&lt;br /&gt;
{&lt;br /&gt;
while (get ACTIVATION)&lt;br /&gt;
{&lt;br /&gt;
move top to y-axis [4] speed [20];&lt;br /&gt;
sleep 400;&lt;br /&gt;
move top to y-axis [0] speed [20];&lt;br /&gt;
sleep 400;&lt;br /&gt;
}&lt;br /&gt;
start-script SpinTop();&lt;br /&gt;
&lt;br /&gt;
The --|-- are to represent the spacing via tab, I&amp;#039;m not sure if it is neccesary on the first level, but it does make the script easier to read [at least in my opinion].&lt;br /&gt;
[[Category:Animation]]&lt;/div&gt;</summary>
		<author><name>interanimation&gt;Flozi</name></author>
	</entry>
</feed>