Jump to content

Why is this text so big?


KingOfHeart

Recommended Posts

<html>
<body>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>AdminControl Panel!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="JavaScript" type="text/javascript">
//<![CDATA[
<!--
//-->
//]]>
</script>
<link href="my.css" rel="stylesheet" type="text/css" />
<link href="menu.css" rel="stylesheet" type="text/css" />
<link href="site.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="anylinkmenu.css" />
<script type="text/javascript" src="menucontents.js"></script>
<script type="text/javascript" src="anylinkmenu.js"></script>

<!--[if lt IE 7]>
<style type="text/css" media="screen">
#menuh{float:none;}
body{behavior:url(csshover.htc); font-size:75%;}
#menuh ul li{float:left; width: 100%;}
#menuh a{height:1%;font:normal 1em/1.6em "Trebuchet MS", helvetica, arial, sans-serif;}
</style>
<![endif]-->
<style type="text/css">
<!--
.style1 {font-size: small}
-->
</style></head>
<body>
<div id="container">
    <div id="top">
    <p><a href="#"> </a></p>
    </div>
<script type="text/Javascript">
option.items=[
        ["Mysql", "index.php?page=MYSQL"],["Open Zelda Functions", "index.php?page=ozfunc"],["News", "index.php?page=news"],["Inbox", "index.php?page=inbox"]]
</script>
  <!-- Begin CSS Horizontal Popout Menu -->

  <div id="menuh-container">
    <div id="menuh" style="padding: 2px;"/>
  </div>
  <!-- End CSS Horizontal Popout Menu -->
  <div id="leftnav">
<h3>Navigation</h3>
    <div id="nav">
      <ul id="navlist">

  <script type="text/javascript">
  document.write('<li><a href="#" class="menuanchorclass someotherclass" rel="homepage[click]" rev="lr"><b>Homepage</b></a></li>',
  '<li><a href="#" class="menuanchorclass someotherclass" rel="option[click]" rev="lr"><b>Options</b></a></li>');
  </script>
      </ul>
    </div>
</div>
    
  <div id="content">
<h2>Open Zelda Functions</h2><div id="title"><a href = '/Admin/index.php?page=ozfunc&option=add'><h2><b>Add Function</b></h2></a></div><table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=20'>Edit</a></td>

	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=20'>Delete</a></td>
	<td class = 'data' width = '50%'>#else</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>Directives</span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozkey">#<span class="ozkeycode">else</span></span></div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Works just like an else statement but requires an #endif to end the statement and can be used before main(). This function is only really used in an #include file but can be used anywhere if you like.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozcomment">//#define debug //remove // to return a -999

</span></span><br><span class="ozkey">#<span class="ozkeycode">if</span> <span class="ozkeycode">defined</span> debug
</span><br><span class="ozkey">native</span> GetX2(ident[]) = GetX2;
<br><span class="ozkey">stock</span> <span class="ozentity">GetX</span>(ident[]) { return -999;}
<br><span class="ozkey">#<span class="ozkeycode">else</span>
</span><br><span class="ozkey">native</span> <span class="ozentity">GetX</span>(ident[]);

<br><span class="ozkey">#endif 
</span><br>
<br><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{
<br>    <span class="ozkey">new</span> string[16];
<br>    <span class="ozfunction">ToString</span>(<span class="ozentity">GetX</span>("<span class="ozquote">player1</span>"), string);

<br>    <span class="ozfunction">DrawText</span>(string, 50, 60, 255,0,0,255);
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=21'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=21'>Delete</a></td>
	<td class = 'data' width = '50%'>#endif</td>

	<td class = 'data' width = '30%'><span class = 'ozkey'>Directives</span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozkey">#endif</span></div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>#endif is used to end the #if/#else statement. This function is usually found in an #include file but can be used before main() in a screen/group statement. </div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozcomment">//#define debug //remove // to return a -999
</span></span><br><span class="ozkey">#<span class="ozkeycode">if</span> <span class="ozkeycode">defined</span> debug

</span><br><span class="ozkey">native</span> GetX2(ident[]) = GetX2;
<br><span class="ozkey">stock</span> <span class="ozentity">GetX</span>(ident[]) { return -999;}
<br><span class="ozkey">#<span class="ozkeycode">else</span>
</span><br><span class="ozkey">native</span> <span class="ozentity">GetX</span>(ident[]);
<br><span class="ozkey">#endif
</span><br>
<br><span class="ozkey">#include <general>

</span><br>
<br>main()
<br>{
<br>    <span class="ozkey">new</span> string[16];
<br>    <span class="ozfunction">ToString</span>(<span class="ozentity">GetX</span>("<span class="ozquote">player1</span>"), string);
<br>    <span class="ozfunction">DrawText</span>(string, 50, 60, 255,0,0,255);
<br>}</div></td></tr>
	</table><p>

	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=19'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=19'>Delete</a></td>
	<td class = 'data' width = '50%'>#if</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>Directives</span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozkey">#<span class="ozkeycode">if</span> constant expression</span></div></td></tr>

	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Works just like an if statement but requires an #endif to end the statement and can be used before main(). This function is only really used in an #include file but can be used anywhere if you like.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozcomment">//#define debug //remove // to return a -999
</span></span><br><span class="ozkey">#<span class="ozkeycode">if</span> <span class="ozkeycode">defined</span> debug
</span><br><span class="ozkey">native</span> GetX2(ident[]) = GetX2;
<br><span class="ozkey">stock</span> <span class="ozentity">GetX</span>(ident[]) { return -999;}

<br><span class="ozkey">#<span class="ozkeycode">else</span>
</span><br><span class="ozkey">native</span> <span class="ozentity">GetX</span>(ident[]);
<br><span class="ozkey">#endif 
</span><br>
<br><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{
<br>    <span class="ozkey">new</span> string[16];

<br>    <span class="ozfunction">ToString</span>(<span class="ozentity">GetX</span>("<span class="ozquote">player1</span>"), string);
<br>    <span class="ozfunction">DrawText</span>(string, 50, 60, 255,0,0,255);
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=18'>Edit</a></td>

	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=18'>Delete</a></td>
	<td class = 'data' width = '50%'>#include</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>Directives</span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozkey">#include </span></div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Inserts the contents of the inc file. All of these inc files are located in compiler/include folder.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <general>

</span><br><span class="ozkey">#include <entity>
</span><br><span class="ozkey">#include <<span class="ozkey">float</span>>
</span><br>
<br>main()
<br>{
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=15'>Edit</a></td>

	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=15'>Delete</a></td>
	<td class = 'data' width = '50%'>//</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>Misc</span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozcomment">//</span></div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Comment a line. It is also useful for ignoring your scripting on that line to help find an error without having to delete everything. </div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <entity>

</span><br>
<br>main()
<br>{
<br>    <span class="ozcomment">//SetMaxHealth("player1",2000);//This will not run unless if you remove the //
</span><br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=12'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=12'>Delete</a></td>
	<td class = 'data' width = '50%'>break</td>

	<td class = 'data' width = '30%'><span class = 'ozkey'>Basic keywords</span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozkeycode">break</span>;</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Ends the current loop.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{

<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())
<br>    {
<br>        <span class="ozkey">new</span> n;
<br>        <span class="ozkeycode">while</span>(n < 5)
<br>        {
<br>            <span class="ozfunction">TextFile</span>("<span class="ozquote">Looping</span>");<span class="ozcomment">//will only loop 3 times instead of 5

</span><br>            <span class="ozkeycode">if</span>(n == 2)
<br>                <span class="ozkeycode">break</span>;
<br>            n++;
<br>        }
<br>    }
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=7'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=7'>Delete</a></td>

	<td class = 'data' width = '50%'>CreateCounter</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <counter></span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozfunction">CreateCounter</span>(<span class="ozfunction">min</span>, <span class="ozfunction">max</span>, ident[]);</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Create a counter available to the current script with minimum and maximum values.</div></td></tr>

	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <counter>
</span><br><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{
<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())
<br>    {
<br>        <span class="ozfunction">CreateCounter</span>(0, 9, "<span class="ozquote">lives</span>");

<br>        <span class="ozfunction">SetCounterValue</span>("<span class="ozquote">lives</span>",5);
<br>    }
<br>    <span class="ozkey">new</span> string[16];
<br>    <span class="ozfunction">ToString</span>(<span class="ozfunction">GetCounterValue</span>("<span class="ozquote">lives</span>"), string);
<br>    <span class="ozfunction">DrawText</span>(string, 120, 200, 255,255,255,255);
<br>}</div></td></tr>

	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=4'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=4'>Delete</a></td>
	<td class = 'data' width = '50%'>CreateCounterWithID</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <counter></span></td>

	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozfunction">CreateCounterWithID</span>(<span class="ozfunction">min</span>, <span class="ozfunction">max</span>, ident[]);</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Create a counter available to all scripts after its creation.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <counter>
</span><br><span class="ozkey">#include <general>

</span><br>
<br>main()
<br>{
<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())
<br>    {
<br>        <span class="ozfunction">CreateCounterWithID</span>(0, 9, "<span class="ozquote">lives</span>");
<br>        <span class="ozfunction">SetCounterValue</span>("<span class="ozquote">lives</span>",5);
<br>    }

<br>    <span class="ozkey">new</span> string[16];
<br>    <span class="ozfunction">ToString</span>(<span class="ozfunction">GetCounterValue</span>("<span class="ozquote">lives</span>"), string);
<br>    <span class="ozfunction">DrawText</span>(string, 120, 200, 255,255,255,255);
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>

	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=8'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=8'>Delete</a></td>
	<td class = 'data' width = '50%'>CreateEntityWithID</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <entity></span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozentity">CreateEntityWithID</span>(ident[], x, y, code[]);</div></td></tr>

	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Creates a Entity at x,y and give it the name "code". The code is available for all scripts.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <entity>
</span><br><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{
<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())

<br>    {
<br>        <span class="ozentity">CreateEntityWithID</span>("<span class="ozquote">_orbenemyr</span>",<span class="ozentity">GetX</span>("<span class="ozquote">player1</span>"),<span class="ozentity">GetY</span>("<span class="ozquote">player1</span>"),"<span class="ozquote">enemy</span>");<span class="ozcomment">//name of entity script,x,y,custom name
</span><br>    }

<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=17'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=17'>Delete</a></td>
	<td class = 'data' width = '50%'>Define</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>Directives</span></td>

	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozkey">#define</span></div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>The #define directive creates symbolic constants; it is an alternative to
the "const" instruction. This function is most commonly used in an #include file.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'>***entity.inc***
<br>
<br><span class="ozkey">#<span class="ozkeycode">if</span> <span class="ozkeycode">defined</span> <span class="ozkey">debug</span>

</span><br><span class="ozkey">native</span> GetX2(ident[]) = GetX2;
<br>   <span class="ozkey">stock</span> <span class="ozentity">GetX</span>(ident[]) { <span class="ozkeycode">return</span> -999;}
<br><span class="ozkey">#<span class="ozkeycode">else</span>
</span><br>   <span class="ozkey">native</span> <span class="ozentity">GetX</span>(ident[]);

<br><span class="ozkey">#endif
</span><br>
<br>***Screen/Group Script***
<br>
<br><span class="ozkey">#define <span class="ozkey">debug</span>
</span><br><span class="ozkey">#include <entity>
</span><br><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{
<br>    <span class="ozkey">new</span> string[16];

<br>    <span class="ozfunction">ToString</span>(<span class="ozentity">GetX</span>("<span class="ozquote">player1</span>"), string);
<br>    <span class="ozfunction">DrawText</span>(string, 50, 60, 255,0,0,255);
<br>}
<br>
<br>***When rewriting an inc file make sure you resave the scren/group script or recompile all to get it to work.***</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=22'>Edit</a></td>

	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=22'>Delete</a></td>
	<td class = 'data' width = '50%'>DrawAnim</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <animation></span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozfunction">DrawAnim</span>(ident[], x, y, depth, layer = 0, r = 255, g = 255, b = 255, a = 255, rot = 0, scale = 100);</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Draw the animation at x & y(world coordinates). Depth and layer handles which sprites should be drawn ontop. Red, green, blue and alpha, rotation, and scale can also be set. </div></td></tr>

	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'>*Place <span class="ozkey">this</span> script in screen 0,0*
<br>
<br><span class="ozkey">#include <animation>
</span><br><span class="ozkey">#include <general>
</span><br>
<br><span class="ozkey">new</span> Anim[20];
<br>main()

<br>{
<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())
<br>    {
<br>        <span class="ozfunction">CreateAnim</span>(2,Anim);
<br>        <span class="ozfunction">AddAnimframe</span>(Anim,0,0,"<span class="ozquote">_heart1</span>");
<br>        <span class="ozfunction">AddAnimframe</span>(Anim,0,0,"<span class="ozquote">_heart3</span>");
<br>        <span class="ozfunction">AddAnimframe</span>(Anim,0,0,"<span class="ozquote">_heart2</span>");

<br>    }
<br>    <span class="ozfunction">DrawAnim</span>(Anim,80,80,1);
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=16'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=16'>Delete</a></td>
	<td class = 'data' width = '50%'>for</td>

	<td class = 'data' width = '30%'><span class = 'ozkey'>Basic keywords</span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozkeycode">for</span>(var; condition; changeval);</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>for is used to create a conditional loop.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{

<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())
<br>    {
<br>        <span class="ozkeycode">for</span>(<span class="ozkey">new</span> n; n < 5; n++)
<br>        {
<br>            <span class="ozfunction">TextFile</span>("<span class="ozquote">N Loop</span>");<span class="ozcomment">//will loop 5 times

</span><br>        }
<br>        
<br>        <span class="ozkey">new</span> o = 2;
<br>        <span class="ozkeycode">for</span>(o; o != 3; o++)
<br>        {
<br>            <span class="ozfunction">TextFile</span>("<span class="ozquote">O Loop</span>");<span class="ozcomment">//will loop 1 times
</span><br>        }
<br>        
<br>        <span class="ozkeycode">for</span>(<span class="ozkey">new</span> p = -2; p < 2; p++)

<br>        {
<br>            <span class="ozfunction">TextFile</span>("<span class="ozquote">P Loop</span>");<span class="ozcomment">//will loop 4 times
</span><br>        }
<br>    }
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=6'>Edit</a></td>

	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=6'>Delete</a></td>
	<td class = 'data' width = '50%'>GetCounterMin</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <counter></span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozfunction">GetCounterMin</span>(ident[]);</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Return the lowest possible value for the counter.</div></td></tr>

	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <counter>
</span><br><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{
<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())
<br>    {
<br>        <span class="ozfunction">CreateCounterWithID</span>(3, 9, "<span class="ozquote">lives</span>");

<br>    }
<br>    <span class="ozkey">new</span> string[16];
<br>    <span class="ozfunction">ToString</span>(<span class="ozfunction">GetCounterMin</span>("<span class="ozquote">lives</span>"), string);
<br>    <span class="ozfunction">DrawText</span>(string, 120, 200, 255,255,255,255);
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>

	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=2'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=2'>Delete</a></td>
	<td class = 'data' width = '50%'>GetGroupMaxX()</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <general></span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozfunction">GetGroupMaxX</span>();</div></td></tr>

	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Returns the Group max. X value.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include 
</span><br>
<br>main()
<br>{
<br>    <span class="ozkey">new</span> string[16];
<br>    <span class="ozfunction">ToString</span>(<span class="ozfunction">GetGroupMaxX</span>(), string);
<br>    <span class="ozfunction">DrawText</span>(string, 120, 200, 255,255,255,255);

<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=10'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=10'>Delete</a></td>
	<td class = 'data' width = '50%'>public</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>Basic keywords</span></td>

	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozkey">public</span></div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>A public function is a function that is created by an entity to be called with CallFunction.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozcomment">/*create an entity file named test.zes and use the following CallFunctions
<br>in a screen or group script.
<br>
<br>CallFunction("<span class="ozquote">test</span>",<span class="ozkey">false</span>,"<span class="ozquote">Test1</span>","<span class="ozquote">Null</span>");

<br>CallFunction("<span class="ozquote">test</span>",<span class="ozkey">false</span>,"<span class="ozquote">Test2</span>","<span class="ozquote">nn</span>", <span class="ozentity">GetX</span>("<span class="ozquote">player1</span>"),<span class="ozentity">GetY</span>("<span class="ozquote">player1</span>"));

<br>CallFunction("<span class="ozquote">test</span>",<span class="ozkey">false</span>,"<span class="ozquote">Test3</span>","<span class="ozquote">sn</span>", "<span class="ozquote">Insert Message Here</span>", 32);
<br>*/</span>
<br><span class="ozkey">#include <entity>
</span><br><span class="ozkey">#include <general>

</span><br>
<br><span class="ozkey">public</span> Test1()
<br>{
<br>    <span class="ozfunction">TextFile</span>("<span class="ozquote">The public Test1 function was called.</span>");
<br>}
<br>
<br><span class="ozkey">public</span> Test2(var1,var2)
<br>{
<br>    <span class="ozfunction">TextFile</span>("<span class="ozquote">The public Test2 function was called The next two lines will show var1 and var2.</span>");

<br>    <span class="ozfunction">ToFile</span>(var1);
<br>    <span class="ozfunction">ToFile</span>(var2);
<br>}
<br>
<br><span class="ozkey">public</span> Test3(string[20],var1)
<br>{
<br>    <span class="ozfunction">TextFile</span>("<span class="ozquote">The public Test3 function was called The next two lines will show string and var1.</span>");
<br>    <span class="ozfunction">TextFile</span>(string);
<br>    <span class="ozfunction">ToFile</span>(var1);

<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=1'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=1'>Delete</a></td>
	<td class = 'data' width = '50%'>PutSprite</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <general></span></td>

	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozfunction">PutSprite</span>(ident[], x, y, depth = 1, layer = 0, r = 255, g = 255, b = 255, a = 255, rot = 0, scale = 100);</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Places a sprite at x/y. PutSprite uses world coordinates.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{
<br>    <span class="ozfunction">PutSprite</span>("<span class="ozquote">_heart1</span>", 120, 120, 1);

<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=11'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=11'>Delete</a></td>
	<td class = 'data' width = '50%'>SetCounterSpeed</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <counter></span></td>

	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozfunction">SetCounterSpeed</span>(ident[], val);</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Set the speed of the counter to val.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <counter>
</span><br><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{

<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())
<br>    {
<br>        <span class="ozfunction">IncCounterTarget</span>("<span class="ozquote">rupees</span>",99);
<br>    }
<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">WKey</span>())
<br>        <span class="ozfunction">SetCounterSpeed</span>("<span class="ozquote">rupees</span>", 1);<span class="ozcomment">//will make the rupee counter increase slowly

</span><br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=13'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=13'>Delete</a></td>
	<td class = 'data' width = '50%'>TextFile</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <general></span></td>

	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozfunction">TextFile</span>(string[]);</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Writes string[] into ErrorChk.txt in your [u]Open Zelda folder[/u].</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{
<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())

<br>    {
<br>        <span class="ozfunction">TextFile</span>("<span class="ozquote">Insert Message Here!</span>");
<br>    }
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=14'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=14'>Delete</a></td>

	<td class = 'data' width = '50%'>ToFile</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>#include <general></span></td>
	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozfunction">ToFile</span>(value);</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>Writes "value" into the error-log file in the OpenZelda folder. </div></td></tr>

	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <general>
</span><br><span class="ozkey">#include <entity>
</span><br>
<br>main()
<br>{
<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())
<br>    {
<br>        <span class="ozfunction">ToFile</span>(<span class="ozentity">GetHealth</span>("<span class="ozquote">player1</span>"));

<br>    }
<br>}</div></td></tr>
	</table><p>
	<table id='mysql' valign = 'top' cellspacing = '0' width = '100%'><tr>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=edit&option2=9'>Edit</a></td>
	<td class = 'data' width = '10%'><a href = '/Admin/index.php?page=ozfunc&option=del&option2=9'>Delete</a></td>
	<td class = 'data' width = '50%'>while</td>
	<td class = 'data' width = '30%'><span class = 'ozkey'>Basic keywords</span></td>

	<tr><td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'><span class="ozkeycode">while</span>( condition );</div></td></tr>
	<td class = 'data' colspan = '4' width = '100%'><div class = 'scroll4'>While is an execute statement to create a conditional loop. If you create a never ending loop then your program will freeze up.</div></td></tr>
	<tr><td colspan = '4' width = '100%'><div class = 'scroll2'><span class="ozkey">#include <entity>
</span><br><span class="ozkey">#include <general>
</span><br>
<br>main()
<br>{

<br>    <span class="ozkeycode">if</span>(<span class="ozfunction">FirstRun</span>())
<br>    {
<br>        <span class="ozkey">new</span> n;
<br>        <span class="ozkey">new</span> o = 7;
<br>        <span class="ozkey">new</span> p = 1;
<br>        <span class="ozkeycode">while</span>(n < 5)

<br>        {
<br>            <span class="ozcomment">//will loop 5 times
</span><br>            <span class="ozfunction">TextFile</span>("<span class="ozquote">N Loop</span>");
<br>            n++;
<br>        }
<br>    
<br>        <span class="ozkeycode">while</span>(o > 0)
<br>        {
<br>            <span class="ozcomment">//will loop 7 times
</span><br>            <span class="ozfunction">TextFile</span>("<span class="ozquote">O Loop</span>");

<br>            o--;
<br>        }
<br>        
<br>        <span class="ozkeycode">while</span>(p < 10)
<br>        {
<br>            <span class="ozcomment">//will loop 4 times
</span><br>            <span class="ozfunction">TextFile</span>("<span class="ozquote">P Loop</span>");
<br>            p *= 2;
<br>        }
<br>    }
<br>}</div></td></tr>

	</table><p>
		</div>
  <div id="footer"> 

    <p align="center" class="style1"><a href="index.php">©2009 Open Zelda</a> | Hosted by <a href="http://www.thegaminguniverse.org/forum/index.php" class="style1">The Gaming Universe</a>

</p>

</div>
<script type="text/javascript">

//anylinkmenu.init("menu_anchors_class") //call this function at the very *end* of the document!
anylinkmenu.init("menuanchorclass")
</script></div>

</body>
</html>

 

For some reason the text is bigger then it should be. Chances are it has to do with the table itself. I tried using css to make the text smaller but had no luck. Just look for

 

"Works just like an else statement but requires an #endif to end the statement and can be used before main(). This function is only really used in an #include file but can be used anywhere if you like."

 

and see if you can tell me why this info alone is so big.

Link to comment
Share on other sites

have you got it online somewhere so i can have a look?

You don't have special properties for the tables set I assume you mean the text in the table is big right?? Pretty unclear in your question.

besides that we don't know what you have in those 3 css files...

 

just post this online on some cheap free host works much faster :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.