TNT Basic Forums > Programming Q&A
Set Map Tile Question
< Last Thread     Next Thread >
Thread        Post A Reply

01-15-2002 17:04

Posted by:
Tony Rose

Click Here to Email Tony Rose   Find more posts by Tony Rose

What coordinate is z? The help guide says the format should be as follows... set map tile x,y,z,index. Thanks ahead of time.

01-15-2002 17:25

Posted by:
Jim D

Click Here to Email Jim D   Find more posts by Jim D

Z corresponds to the map layer. If you only have one layer in your map, z should be zero (0).

Hope that helps.

01-15-2002 20:42

Posted by:
Tony Rose

Click Here to Email Tony Rose   Find more posts by Tony Rose


Using that format the compiler returns "Unexpected ," after the z coordinate. Whats going on?

01-16-2002 01:23

Posted by:

Click Here to Email Jim   Find more posts by Jim

maybe the TNT staff can shed some light on this

Huh, I don't know. The Map Tile command takes x,y, and z as parameters, and with that z is the layer, so I had just assumed that Set Map Tile worked the same way. Apparently not (I haven't actually tried Set Map Tile). Sorry!

01-17-2002 20:28

Posted by:
Tony Rose

Find more posts by Tony Rose


Cmon,nobody can help me out here? Im sorta stuck until I figure it out. I guess it gives me plenty of time to do artwork.

01-17-2002 20:45

Posted by:

Find more posts by ERaZer

Set Map Tile...

Well If you want to set a tile located at x:2 y:7 z:0 (z is the layer) to picture 293 you would write:
Set Map Tile 2,7,0,293

01-23-2002 23:39

Posted by:
Mark Tully

Find more posts by Mark Tully

Fixed in 1.02

That was a bug in 'set map tile', it though there should only be 3 arguments when there should be 4, and so was proclaiming the last one 'unexpected'.

It's fixed in TNT Basic 1.02 which will be released in a week or two.


All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.