Thread: Showpoly (GS2)
View Single Post
  #3  
Old 09-11-2005, 05:48 AM
Sildae Sildae is offline
Elven sorceress!
Sildae's Avatar
Join Date: Dec 2001
Location: Lothlòrien
Posts: 159
Sildae is on a distinguished road
If it is anything like old gscript, the first parameter is an img index, similar to the first parameter of showimg, and the array specifies coordinates of each vertex of the polygon. For the showpoly version, the array goes {x1, y1, x2, y2, x3, y3, ..., xn, yn}, each vertex is connected to the next and the last is connected to the first and the whole is filled with white. showpoly2 is the same, except you get to specify a z coordinate after each y coordinate.
If that works, you should probably tell the wiki about it.
__________________
"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man."
-- George Bernard Shaw
Reply With Quote