Use vne_decision_setup() and set the "decision_ID" for buttons/flags.
Example:
vne_decision_setup(2, 5, 1, 3, 1, language_get_direct("gtclassroom"))
vne_decision_setup(2, 5, 2, 4, 1, language_get_direct("gtfield"))
vne_decision_setup(2, 5, 3, 1, 1, "Reset1")
vne_decision_setup(2, 5, 4, 1, 1, "Reset2")
Can be use with "language_get_direct()" to support multiple language!
Next is to use "vne_decision_data_variable_setup()" to store decisions/flags.
Example:
vne_decision_data_variable_setup(2, 5, 1, 1, 1) // this add 1 amount to data number 1
vne_decision_data_variable_setup(2, 5, 2, 2, 1) // this add 1 amount to data number 2
vne_decision_data_variable_setup(2, 5, 3, 3, 2) // this add 2 amount to data number 3
vne_decision_data_variable_setup(2, 5, 4, 3, 3) // this add 3 amount to data number 3
You can then use "vne_main_decision_add()" to change the next branch and page of the current branch and page that is set.
Example:
vne_main_decision_add(3, 1, 8, 1, 2, 1) // go to shopping when in classroom
vne_main_decision_add(3, 1, 9, 1, 1, 1) // go to home when in classroom
Finally, you can also set the images of the buttons/flags using "vne_decision_button_image_setup()".
Example:
vne_decision_button_image_setup(2, 5, 1, vne_id_offset + 1001, vne_id_offset + 1002, vne_id_offset + 1003, vne_id_offset + 1004, vne_id_offset + 2001)
The example use the default button sprite.
vne_decision_setup(branchID, page, decision_ID, to_branchID, to_page, title$)
vne_decision_data_variable_setup(branchID, page, decision_id, data_id, inc_amount)
vne_main_decision_add(from_branch, from_page, to_branch, to_page, data_id, data_amount)
vne_decision_button_image_setup(branchID, page, decision_id, main, hover, clicked, bg, key)