https://wiki.bennugd.org/index.php?title=Map_clone&feed=atom&action=history
Map clone - Revision history
2024-03-29T11:20:22Z
Revision history for this page on the wiki
MediaWiki 1.36.2
https://wiki.bennugd.org/index.php?title=Map_clone&diff=5266&oldid=prev
Sandman: 1 revision
2008-10-02T10:05:41Z
<p>1 revision</p>
<p><b>New page</b></p><div>[[Category:functions]]<br />
[[Category:maps]]<br />
[[Category:mod_map]]<br />
<br />
==Definition==<br />
'''INT''' map_clone ( <'''INT''' fileID> , <'''INT''' graphID> )<br />
<br />
Clones a certain [[graphic]] and puts it in the [[system file]].<br />
<br />
== Parameters ==<br />
{|<br />
| '''INT''' fileID || - The [[fileID]] of the [[file]] holding the graphic.<br />
|-<br />
| '''INT''' graphID || - The [[graphID]] of the graphic to be cloned.<br />
|}<br />
<br />
== Returns ==<br />
'''INT''' : [[GraphID]]<br />
{|<br />
| 0 || - Invalid graphic specified; <br />
|-<br />
| >0 || - The graphID of the clone graphic.<br />
|}<br />
<br />
== Errors ==<br />
{|<br />
| Unsupported color depth || - The specified graph has a not supported color depth. ''(Console)''<br />
|-<br />
| Insufficient memory || - There is insufficient memory available. This error doesn't occur often. ''(Console)''<br />
|}<br />
<br />
{{Funcbox<br />
| category = Maps<br />
}}</div>
Sandman