forums

TNT Basic Forums > Programming Q&A
polygons...
< Last Thread     Next Thread >
Author
Thread        Post A Reply

11-14-2005 03:03

Posted by:
rock-dragon.

Find more posts by rock-dragon.

I do not no how to use polygons.
I think you can use them to mark certin places but does any1 no the code to use?
It would be very useful if you knew... thx,

RockDragon :)

11-14-2005 08:03

Posted by:
allnodcoms

Location:
hertfordshire (England)

Click Here to Email allnodcoms   Find more posts by allnodcoms

In map polygon(x, y, index)

Is probably the one you need, it tests to see if the x / y pairing is in polygon 'index', returning true if it is, and false if it ain't...
You can find out how many polygons a map contains with Map Polygon Count, but they start from zero, so remember to subtract one if you access them from a loop.
More info is available by going to 'Learn' and 'TNT Basic Online Help'. Click maps and Bob's your uncle. Alternatively (plug, plug!) there's a .pdf version of the manual available for download here. I also uploaded this to the directory, but it hasn't shown up yet (Mark...).

Hope this helps.

Danny (nods)

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.