newfeatures.txt
but, I'll let the first one be free
Quote:
- new script commands showpoly and showpoly2 for
displaying polygons:
showpoly index,{x1,y1,x2,y2,x3,y3,..};
showpoly2 index,{x1,y1,z1,x2,y2,z2,x3,y3,z3,..};
This commands displays a polygon on the specified
position. It will close the polygon (last coordinate to
first coordinate) and will fill the polygon.
If you only provide 4 numbers (e.g. showpoly 1,{10,10,20,20};)
then it will draw a line (in this case from (10,10) to (20,20)).
For showpoly there exist following modifier commands:
- changeimgcolors index,red,green,blue,1;
- changes the colors, red/green/blue must be values between 0 and 1
- changeimgvis index,layer;
- tells graal where to display the polygon: 0 - under players,
1 - same layer liker players, 2 - over players (default),
4 - on the status bar, specified coordinates will work
as screen coordinates instead of world coordinates
|
|