SetModelState = aware of context

If there is something important you think is missing in the current version of ZGameEditor then you can post a feature request here!

Moderator: Moderators

Post Reply
User avatar
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

SetModelState = aware of context

Post by rrTea »

When using a SetModelState component and selecting a particular state from the dropdown menu, it shows every possible state that exists in the whole project.

This is impractical since chances are that the component will be used for switching the states of the model it is residing in most of the time (at least in my projects and just about everything else I ever saw in other's projects). I'd like to avoid scrolling through a potentially long list of entries in a tiny dropdown menu sorted by ABC logic.

It'd be helpful if the ModelState were a bit smarter and sorted out the states of the current model, maybe by putting the states of the current model on top of the list with a "CurrentModel" prefix, or something like that? That'd make it easier to sift through and also minimize the risk of selecting a similarly named but unrelated state.
Post Reply