Project

General

Profile

Feature #3990

Editor: Script GUI

Added by Randy Davin 4 months ago. Updated 24 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Editor
Target version:
Start date:
08/04/2017
% Done:

0%

Severity:
Normal

Description

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 :

Event:
Condition:
Action:

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..

Capture.PNG View - VariableEditor (9.08 KB) Randy Davin, 08/04/2017 04:41 AM

History

#1 Updated by Will Herrmann 4 months ago

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.

#2 Updated by Randy Davin 3 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.

#4 Updated by Will Herrmann 3 months ago

  • Severity changed from Critical to Normal

#5 Updated by Randy Davin 3 months ago

i hope one day this is considered.

#6 Updated by Alexei Dobrohotov 24 days ago

  • Subject changed from Suggestion for OpenMwCs - Script GUI to Editor: Script GUI

Also available in: Atom PDF