Page 1 of 1

Generate a polygon/hotspot

PostPosted: Sat Jan 26, 2013 9:05 pm
by stagmannz
Hey,

Anyway to generate a new drag-able object from a script. I.e I want to allow the user to click on a button that creates a drag-able object, they can then move it to a spot on a map and keep doing it. Once finished the user can save a screenshot using another plugin.

Ideas?

Re: Generate a polygon/hotspot

PostPosted: Sun Jan 27, 2013 1:10 am
by HPW
Hello,

Object creation is currently not possible by code.
When you only need a known amount of objects, you could create them all out of visible screen and move them in when needed.

Regards

Re: Generate a polygon/hotspot

PostPosted: Mon Jan 28, 2013 12:31 pm
by Neosoft Support
You can use the SetObjectFilename action to load an image into one of the pre-created polygon objects.

Re: Generate a polygon/hotspot

PostPosted: Tue Jan 29, 2013 12:16 am
by stagmannz
Great, cheers guys. Not quite what I was after but might be a good step in the right direction.