Thread: Bug with Desktop Map
-
February 22nd, 2019, 22:45 #11
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,566
Now that I've had a chance to look at this while at my desk. Try this code:
Code:<template name="image_record_step2"> <imagecontrol name="image"> <indicators locked="image_locked" loading="image_loading" /> <script file="campaign/scripts/image.lua" /> </imagecontrol> </template> <template name="image_record_step"> <image_record_step2> <default drawingsize="500,500" gridtype="hexrow" snaphex="vertexandcenter" snap="on" /> <pointertypes> <arrow> <icon>pointer</icon> <label>Draw Arrow</label> </arrow> <circle> <icon>pointer_circle</icon> <label>Draw Circle</label> </circle> <cone> <icon>pointer_cone</icon> <label>Draw Cone</label> </cone> <custom name="TrianglePointer"> <icon>pointer_cone</icon> <label>Draw Triangle</label> </custom> <custom name="HexPointer"> <icon>pointer_circle</icon> <label>Draw Hex</label> </custom> </pointertypes> <script> function onBuildCustomPointer(nStartXCoord,nStartYCoord,nEndXCoord,nEndYCoord,sPointerType) local aShapeCurves, aDistLabelPosition, bDrawArrow = CustomPointer.onBuildCustomPointer(nStartXCoord,nStartYCoord,nEndXCoord,nEndYCoord,sPointerType); return aShapeCurves,aDistLabelPosition,bDrawArrow; end </script> </image_record_step2> </template>
-
February 23rd, 2019, 02:43 #12
Awesome. That seems to have solved all of my issues. The snap is working for vertexes and centers... the custom pointers work.. all good.
Thanks!Full License Operator - You must have a 'Lite' License to play in my games.
Member and GM in the Fantasy Grounds Pathfinder Society Group.
PFS Fantasy Grounds Forum
FG Community Teamspeak Server: ts.fg-con.com
Interested in Custom Character Portraits and Tokens? Contact me.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks