Editor: Script GUI
In my opninon, A great addition for post version 1.0.
To be able to create scripts/triggers using GUI. It would make morrowind scripting more dynamic, easier to make and understand.. especially for newbies.
For EXAMPLE, the Script Gui will consist of 3 parts :
If i want a messagebox to appear when i open a chest only when i have a specific item, the script/trigger should look something like this...
EVENT: -<Player> <Opens a chest> \\other events can be <acquires an item>, <kills a unit>, <cast a spell> etc...
CONDITION: -<Chest> opened <equal> to <ChestId> \\equal or not equal
-<Player> has item <Itemid> equal to <True> \\true or false
ACTION: -Create a Messagebox button <MessageboxId> titled <Open>
-Set <ButtonVar1> = LastCreatedButton
-Create a Messagebox button <MessageboxId> titled <Cancel>
-Set <ButtonVar2> = LastCreatedButton
-Show <MessageboxId> for <Player>
-Change the title of <MessageboxId> to <Pick your action>
-If Then Else Multiple Functions
If <Clicked Dialog Button> <equal> to <ButtonVar1>
Then open <ChestId>
Else ...More functions...blabla.. etc. etc..
Also create a global variable editor
Variables can be real, integer, boolean(true or false), race, sound, string, trigger, spells, item, messagebox ... etc etc...
Any thoughts would be appreciated..
#2 Updated by Randy Davin 6 months ago
Will Herrmann wrote:
Are you familiar with any GUI wireframing tools (I use Balsamiq)? It would be helpful to create a mockup of what this GUI would look like.
im sorry, currently not familiar with any wireframing tools. but if you need a clearer mockup, you can try checking warcraft 3 world editor, and check the trigger editor section. its neat and easy.. that is where i get this idea from. it can also convert the gui into script form.
i can provide you a little picture ([[https://youtu.be/kxG-OHs_u7M]]), but if you are really curious, you should check out warcraft 3 world editor, trigger editor section.