https://wiki.bennugd.org/index.php?title=Graphic_set&feed=atom&action=historyGraphic set - Revision history2024-03-29T10:13:54ZRevision history for this page on the wikiMediaWiki 1.36.2https://wiki.bennugd.org/index.php?title=Graphic_set&diff=9753&oldid=prev82.74.128.190: Created page with 'Category:functions Category:maps Category:mod_map ==Definition== '''INT''' Graphic_set ( <'''INT''' fileID> , <'''INT''' graphID> , <'''INT''' info_type> , <'''INT''…'2012-03-16T11:54:41Z<p>Created page with '<a href="/index.php?title=Category:Functions" class="mw-redirect" title="Category:Functions">Category:functions</a> <a href="/index.php?title=Category:Maps" class="mw-redirect" title="Category:Maps">Category:maps</a> <a href="/index.php?title=Category:Mod_map" class="mw-redirect" title="Category:Mod map">Category:mod_map</a> ==Definition== '''INT''' Graphic_set ( <'''INT''' fileID> , <'''INT''' graphID> , <'''INT''' info_type> , <'''INT''…'</p>
<p><b>New page</b></p><div>[[Category:functions]]<br />
[[Category:maps]]<br />
[[Category:mod_map]]<br />
<br />
==Definition==<br />
'''INT''' Graphic_set ( <'''INT''' fileID> , <'''INT''' graphID> , <'''INT''' info_type> , <'''INT''' value> )<br />
<br />
Changes the x or y coordinate of the center pixel (controlpoint 0). This function is also known as [[Map_info_set]](). <br />
<br />
== Parameters ==<br />
{| <br />
| '''INT''' fileID || - The [[file]] that holds the graph.<br />
|-<br />
| '''INT''' graphID || - The [[graph]] to get information from.<br />
|-<br />
| '''INT''' info_type || - What [[Graphical_infotypes|type of information]] you want to change, see note.<br />
|-<br />
| '''INT''' value || - The new x or y coordinate of the center pixel.<br />
|}<br />
<br />
== Returns ==<br />
'''INT''' : Returns the information you want.<br /><br />
If the specified graph was invalid it returns 0.<br /><br />
If the specified infotype was not recognized it returns 1.<br />
<br />
<br />
== Notes ==<br />
<br />
As infotype, only two options are valid:<br />
<br />
{| <br />
| '''G_X_CENTER''' || - Change the x coordinate of the center pixel.<br />
|-<br />
| '''G_Y_CENTER''' || - Change the y coordinate of the center pixel.<br />
|}<br />
<br />
<br />
{{Funcbox<br />
| category = Maps<br />
}}</div>82.74.128.190