• Add Review
  • Subscribe
  • Nominate
  • Submit Media
  • RSS

Update 19: Event commands, conditions & switches

  • Wano
  • 08/23/2016 04:08 PM
  • 618 views
http://rpgpapermaker.com/index.php/news/24-update-19-event-commands-conditions-switches



Hi there, this week I progressed a lot on events database.


Debug, debug, debug...


-Dialog preview zoom failed on changing image
-Drag & drop for lists: cannot be done beetween several lists
-Remake of list unselection


Event pages


The page buttons "Add", "Copy", "Paste" and "Delete" are perfectly working! The page system is exactly the same as RM series: the pages conditions' test are handled on the right to the left, and the first page with a true condition is the one displayed. Note that in the map editor, the page displayed is always the first one.


Event commands


I've done the same system than in the ruby version. To add a new command, you can simply double-click a window commands (RM system), and if you know what you are searching for you can type a keyword directly with an intelligent research. The bold command is the one selected, you can press enter or click on an option to add your command.





Here are the 3 pages commands. There will probably have some addings later.










Conditions


Each page has a conditions panel. This one allows you to regroup several conditions with "And" / "Or" keywords. However this doesn't cover all the conditions possibilities (this would become horrible to implement and to see).





And for commands, here is the window for conditions:





I've done the Switches & variables and heroes pages:







Switches


Here is the event window command for changing a switch value:





And the switches panel management (where you can always drag & drop switches):




The max number is 9999. I actually wonder if I should separate in several boxes as in original RM. I'm currently not doing it because I think it's not really necessary, and also because we could not drag and drop.




That's all for now, thanks for following!