<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        Ok well heres what i have so far. Its not working to well i think because of the last line, feel free to dig through the code and fix some thing because i seem to be at a bit of a rock and a hard place. I just want it to space out the time its firing         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Jon,&lt;br&gt;&lt;br&gt;Again, including the robofile that you currently have will help progress this along as we can&apos;t guess what you&apos;ve been able to accomplish without seeing anything. The responses in this thread are still valid. Have you had any success with any of the above suggestions? &lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Well this has died for a while but im rekindling my idea. Like i have said above, what would be the best way to make it fire for 3 seconds, wait 3 seconds, and then fire for 3 and so on?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I have not made changes to your script yet. Because its a airsoft gun, i just dont want it firing constantly. More like long bursts&lt;br&gt;Jon        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Jon,&lt;br&gt;&lt;br&gt;Perhaps you can include the robofile again so that we can keep track of how the VBScript is evolving? The above description is in theory how you could change the VBScript to incorporate this behavior ... or did you not make any changes?&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        When i run the program it never visibly goes to zero although it works. The only problem now is if the center stays on the target it keeps firing which i dont want it to do. But as you explain above it fixes that but how to i incorporate that into the vbscript?&lt;br&gt;Jon        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Jon,&lt;br&gt;&lt;br&gt;No, it should only go to zero after the end of firing ... otherwise if it goes to zero the firing will stop (or at least I think it does ...).&lt;br&gt;&lt;br&gt;You&apos;d have to use another variable that keeps track of once firing is started set it to 1 and only zero it when a non-fire move is made. Then use a conditional around the firing to check that this variable is 0 otherwise you&apos;d ignore the move=16 setting.&lt;br&gt;&lt;br&gt;Keep in mind that using&lt;br&gt;&lt;br&gt;variable=value&lt;br&gt;&lt;br&gt;will be valid until the end of the VBScript ... once the script is called again that variable WILL be 0 unless you use&lt;br&gt;&lt;br&gt;variable = GetVariable(&quot;variable&quot;)&lt;br&gt;&lt;br&gt;SetVariable &quot;variable&quot;, value&lt;br&gt;&lt;br&gt;which will preserve the value through successive loops of the pipeline. Remember that you are within a big loop but not one that ensure that variables retain their values.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ok yes that makes sense. Except i have two questions. In the script after it changes paused to 1, isnt supposed&amp;nbsp;&amp;nbsp;to go to zero? Also what do i need to add to make it turn off the shooting for 5 seconds even if its on the target?&lt;br&gt;Thanks again!&lt;br&gt;Jon        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Jonny,&lt;br&gt;&lt;br&gt;Ok, that makes sense. Attached is a robofile which I think will work. Basically you are creating a &quot;paused&quot; variable that is set once firing starts. That variable basically disables anything else from happening until the pause variable becomes not 1 (i.e. it is set to 0 again). This variable is first set to 1 when firing starts and then uses the SetTimedVariable function to set the variable to 0 in 5000 ms or 5 seconds. Thus RR will change that variable in 5 seconds and allow the VBScript function to continue as normal.&lt;br&gt;&lt;br&gt;Does that make sense?&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ok Sure&lt;br&gt;So i have done this mod, &lt;a href=&quot;http://www.inventgeek.com/Projects/usbairsoftturret/Overview.aspx&quot; target=&quot;_blank&quot;&gt;http://www.inventgeek.com/&lt;wbr&gt;Projects/&lt;wbr&gt;usbairsoftturret/&lt;wbr&gt;Overview.aspx&lt;/a&gt;&lt;br&gt;to my missile launcher. But I did not hook it up so it stops automatically. So in RR i didn&apos;t have it fire for either the single fire or the primed fire. So as long as &quot;move&quot; is equal to 16 it fires. The missile launcher is not very precise on aiming so i have it &quot;shoot&quot;, 16, only when the cog of the red object is very close to the center. But i dont want it to keep firing at the red object, i want it to once it sees the red object, moves to it, its in the center, then it should fire but only for 5 seconds, then wait 5 seconds with no shooting. Then check if the object is still present on the camera. If so, then move and fire again. So i&apos;m trying to figure out how to add a way to fire only for 5 seconds. Then wait, then fire again if needed.&lt;br&gt;Thank you so much for helping become a RR expert :)&lt;br&gt;Jon        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Jonny,&lt;br&gt;&lt;br&gt;Perhaps you could include what you have so far in your script? When you say check if move is still 16 are you expecting something else to modify that variable outside of the VBscript? Perhaps someone pressing a button or something?&lt;br&gt;&lt;br&gt;You would &quot;turn off&quot; move by setting it to 0 ... thus checking if it is still 16 does not make much sense as you&apos;d be the one that would change it.&lt;br&gt;&lt;br&gt;I think you may be looking for some action that is not best described by talking about the specific values. Perhaps you could explain what you are trying to do at a higher level?&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ok thanks. I&apos;m still a little confused though. Let me explain my situation.&lt;br&gt;When the variable &quot;move&quot; = 16 i need it to turn of after 5 seconds then go back to the top of the script and check if &quot;move&quot; is still 16. If so turn back on for 5 seconds and so on. If not then stay off.&lt;br&gt;Thank you so much for your help so far :D        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        see &lt;a href=&quot;http://www.roborealm.com/forum/index.php?thread_id=2080#2&quot; target=&quot;_blank&quot;&gt;http://www.roborealm.com/&lt;wbr&gt;forum/&lt;wbr&gt;index.php?thread_&lt;wbr&gt;id=2080#2&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Variable time limit?</title>
        <description>
        How would i tell roborealm to do something for x amount of time. Example, Tell move=16 for 5 seconds. Then wait 5 Seconds.         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3412</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3412</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
