About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Editor Interface: Draw to editor
Author Message
Tottel Offline
Member

Post: #1
Editor Interface: Draw to editor
Hi,

With the current Editor Interface, is it possible to draw extra things on the main World Editor?
e.g. I want to visualize lines in the world editor that connect several objects that were already placed.

Thanks.
10-20-2013 06:28 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Editor Interface: Draw to editor
Hi, I'll try to add this for next release.
10-20-2013 06:35 PM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #3
RE: Editor Interface: Draw to editor
Thanks!

If you need a bit more clarification, this is what I'm trying to do:

I've made a visual event system that allows you to do stuff through boxes that are placed in the world. these boxes get called through triggers or other things.

An example of an event is: ToggleDoor, that accepts several params including the UID to a door in the scene.

It would be awesome if I could check which eventBox is selected, check the params for the UID and draw a line from the eventBox to the linked door object.
10-20-2013 07:11 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Editor Interface: Draw to editor
Next release will definitely have custom line drawing.
For getting currently selected object you can do worldObjGet and set param only_selected=true.
As for getting params of objects - that will be added, but I don't know if for next release, possibly one after that.
10-23-2013 07:00 AM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #5
RE: Editor Interface: Draw to editor
Thanks Esenthel! smile
10-23-2013 12:56 PM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #6
RE: Editor Interface: Draw to editor
It works perfectly, thanks Esenthel!

I'll post about it one of these days.. This is making work so much easier! smile
10-26-2013 03:21 PM
Find all posts by this user Quote this message in a reply
Post Reply