Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Xenxer

Pages: [1]
1
General Discussion / (no subject)
« on: May 13, 2005, 10:40:25 PM »
Couldn't you just do something like this to run the game over program?

<!--r1--><div class='codetop'>CODE</div><div class='codemain'><span style="font-family:courier;font-size:11px;white-space:pre;"><span style="color:#F80;">
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE1"></a></a>
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE2"></a><span style="color:#00F;font-weight:bold;">itemLocation</span><span style="color:#94F;">(<put your item number here>, <span style="color:#048;">airshipx!</span>, <span style="color:#048;">airshipy!</span>, <span style="color:#048;">airshiplayer!</span>)</span></a>
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE3"></a><span style="color:#00F;font-weight:bold;">if</span><span style="color:#94F;">(<span style="color:#048;">airshipx!</span> == <span style="color:#048;">followx!</span>)</span></a>
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE4"></a><span style="color:#94F;">{</span>
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE5"></a>   <span style="color:#00F;font-weight:bold;">if</span><span style="color:#94F;">(<span style="color:#048;">airshipy!</span> == <span style="color:#048;">followy!</span>)</span></a>
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE6"></a>   <span style="color:#94F;">{</span>
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE7"></a>      <span style="color:#00F;font-weight:bold;">over</span><span style="color:#94F;">()</span></a>
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE8"></a>   <span style="color:#94F;">}</span>
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE9"></a><span style="color:#94F;">}</span>
<a name="ID9b66741b3fb29b672bc2ae62d66bf8d1LINE10"></a></a>
</span><form action="/sources/misc/save_prg.php" method="POST"><textarea style="display:none" name="source"> itemLocation(<put your item number here>, airshipx!, airshipy!, airshiplayer!) if(airshipx! == followx!) { if(airshipy! == followy!) { over() } } </textarea><input type="submit" value="Save" /><input type="checkbox" name="html" value="true" /> Save As HTML?</form></span></div><span style="display:none"><!--er1--><!--r2--> itemLocation(<put your item number here>, airshipx!, airshipy!, airshiplayer!) if(airshipx! == followx!) { if(airshipy! == followy!) { over() } } <!--er2--><!--r3--></span><!--er3-->

This is assuming you are using TK3, and you don't mind using the generic game over command.

Pages: [1]