1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
|
{
"uid": "0CE95A23K646DA4E08SBAA1EFEBCBF1875AB",
"isLoaded": true,
"lastModificationTime": 0,
"items": {
"parentId": "8CC0A736KF347A454AS899FE4F42878D912C",
"displayName": "$$7CCE0F202381D549F5580757C39B0F05DA00",
"windowTitle": "Message Box Visibility",
"type": "event_command",
"id": "vn.MessageBoxVisibility",
"subGroup": "$$8C18C980KCA7CA4FCDS99EFEC6824693DD97",
"group": "$$8C18C980KCA7CA4FCDS99EFEC6824693DD97",
"windowSize": {
"w": 400
},
"nodes": [],
"defaultValue": {
"duration": 30,
"waitForCompletion": true,
"id": "messageBox",
"visible": 0,
"animation": {
"type": 0,
"movement": 3,
"mask": {
"graphic": null,
"vague": 30
}
},
"easing": {
"type": 0,
"inOut": 1
}
},
"quickItems": [
{
"label": "$$5DFAC3F9842F404696394AD3C46DED3C5DF4",
"type": "GSQPopupField",
"dataSource": [
{
"name": "$$B377402B9CFE46427A199532C210242722AE",
"alias": "messageBox"
},
{
"name": "$$46F125F05E61C74FE92831665515EA9B9CD9",
"alias": "nvlMessageBox"
},
{
"name": "$$998C2E345494F8404709B3A52A932F2C2B59",
"alias": "messageMenu"
}
],
"valueFormula": "return GS.CONST.MESSAGE_BOX_STYLES[p.id] ? GS.CONST.MESSAGE_BOX_STYLES[p.id].name : fmtStrVar(p.id)",
"variableButton": {
"dataSource": "strings"
},
"multiline": false,
"attribute": "id"
},
{
"label": "$$8FC3C1F0K7714A494AS8514EB17C32F29FC3",
"type": "GSQCheckBox",
"attribute": "visible",
"valueFormula": "return GS.CONST.YES_NO[p.visible]"
},
{
"label": "$$0BD2456DK1DA1A4C2DS9C03EAC7A2C6C7815",
"valueFormula": "return fmtDuration(fmtNumVar(p.duration))",
"valueTranslator": {
"write": "return v / 1000 * GS.CONST.GAME_FRAME_RATE",
"read": "return ROUND(v / GS.CONST.GAME_FRAME_RATE * 1000)"
},
"type": "GSQStepper",
"attribute": "duration",
"identifier": "duration",
"variableButton": {
"dataSource": "numbers"
},
"minimum": 0,
"maximum": 999999999,
"lockable": true
},
{
"type": "GSQPopupField",
"attribute": "waitForCompletion",
"identifier": "waitForCompletion",
"dataSource": [
"$$2EA7A7BF12D3404F62094CA6644784A9FC40",
"$$97A5E676K2351A43FCSB0DFEBB5CF7A73243"
],
"valueFormula": "return (p.waitForCompletion ? lcs('97A5E676K2351A43FCSB0DFEBB5CF7A73243') : lcs('2EA7A7BF12D3404F62094CA6644784A9FC40'))"
}
],
"expandedView": {
"columns": [
{
"sections": [
{
"label": "$$4B6665ACK640FA4A19S89F1E4F1070280626",
"rows": [
{
"items": [
{
"label": "$$858E29BD598E6544DD49356017DFC223DA6F",
"type": "GSQPopupField",
"attribute": "easing.type",
"lockable": true,
"width": "50%",
"dataSource": [
"$$B04840A62C08B644918821142386D7EEB014",
"$$99D9039B6FF24440998B5ED62A44E25D562A",
"$$6DB3AC545EBEF747C56BB237892A2FE7DC6A",
"$$087E67D05860D644FC9A87C91B303A91E774",
"$$5101E7646B6A284EC5385FF42CC39E29BC20",
"$$9DEB76CD12AA024F65384215C8DF97C64463",
"$$757243FE807A124F5058CEA6DC72BB24F1AD",
"$$22D2BB118D79E248023904E4E5DCF459C2B2"
],
"valueFormula": "return GS.CONST.EASING_TYPES[p.easing.type]"
},
{
"label": "",
"width": "auto",
"unlockItems": [
"easing.type"
],
"type": "GSQPopupField",
"attribute": "easing.inOut",
"dataSource": [
"$$19C38D481D2B4947845AFB426AA83A22A24E",
"$$636489127D19D648ED6BB357549054B90E98",
"$$03359F826080274E018A4693CE01C765D700"
],
"valueFormula": "return GS.CONST.EASING_IN_OUT[p.easing.inOut]"
}
]
},
{
"items": [
{
"type": "GSQPopupField",
"attribute": "animation.type",
"width": "50%",
"lockable": true,
"label": "$$9D7B8871KE8A7A410ES8CA3EA1F415A8BEA7",
"dataSource": [
"$$2683C0C34985474F713910185340D35D3108",
"$$P177",
"$$000ADEF46265D146AF5893C3E8B9A840397F"
],
"valueFormula": "return GS.CONST.APPEARANCE_ANIMATION_TYPES[p.animation.type]",
"showItems": [
[
"animation_movement"
],
[],
[
"animation_maskFile",
"animation_maskVague"
]
]
},
{
"identifier": "animation_movement",
"dataSource": [
"$$DA8B51B3KB92CA46EFSB9A9EDF4D4C81A9B8",
"$$0E468336KEA04A497CS8813E5A7FA8B85AF5",
"$$927A7043KEE05A4A52SA7C9E418BAF35232F",
"$$EB59D1CFK6206A4F2BSB258EE66915195A6D"
],
"type": "GSQPopupField",
"width": "auto",
"unlockItems": [
"animation.type"
],
"attribute": "animation.movement",
"valueFormula": "return GS.CONST.MOVE_ANIMATION_TYPES[p.animation.movement]"
},
{
"label": "$$P61",
"valueFormula": "return fmtResource(p.animation.mask.graphic);",
"attribute": "animation.mask.graphic",
"variableButton": {
"dataSource": "strings"
},
"identifier": "animation_maskFile",
"unlockItems": [
"animation.type"
],
"type": "GSQPopupField",
"dataAttribute": "resource",
"dialog": {
"uid": "dialog.selectGraphicResource",
"parameters": {
"folder": "Graphics/Masks"
}
}
},
{
"label": "$$A20F74E20798454C200A83253DEACB863B87",
"identifier": "animation_maskVague",
"variableButton": {
"dataSource": "numbers"
},
"unlockItems": [
"animation.type"
],
"type": "GSQStepper",
"attribute": "animation.mask.vague",
"minimum": 0,
"maximum": 255
}
]
}
]
}
]
}
]
},
"sections": [],
"rawContent": "{\n \"parentId\": \"AFAD6CEFK59C1A4298SBABFE7AEC1B964622\",\n \"displayName\": \"$$7CCE0F202381D549F5580757C39B0F05DA00\",\n \"windowTitle\": \"Message Box Visibility\",\n \"type\": \"event_command\",\n \"id\": \"vn.MessageBoxVisibility\",\n \"subGroup\": \"$$8C18C980KCA7CA4FCDS99EFEC6824693DD97\",\n \"group\": \"$$8C18C980KCA7CA4FCDS99EFEC6824693DD97\",\n \"windowSize\": {\n \"w\": 400\n },\n \"nodes\": [\n ],\n \"defaultValue\": { \"duration\": 30, \"waitForCompletion\": true, \"id\": \"messageBox\", \"visible\": 0, \"animation\": Object.override(GS.CONST.DEFAULT_APPEARANCE_ANIMATION_DATA, { movement: 3, type: 0 }), \"easing\": GS.CONST.DEFAULT_EASING_DATA },\n \"quickItems\": [\n {\n \"label\": \"$$5DFAC3F9842F404696394AD3C46DED3C5DF4\",\n \"type\": \"GSQPopupField\",\n \"dataSource\": Object.keys(GS.CONST.MESSAGE_BOX_STYLES).map(k => GS.CONST.MESSAGE_BOX_STYLES[k]),\n \"valueFormula\": \"return GS.CONST.MESSAGE_BOX_STYLES[p.id] ? GS.CONST.MESSAGE_BOX_STYLES[p.id].name : fmtStrVar(p.id)\",\n \"variableButton\": { \"dataSource\": \"strings\" },\n \"multiline\": false,\n \"attribute\": \"id\" \n },\n {\n \"label\": \"$$8FC3C1F0K7714A494AS8514EB17C32F29FC3\",\n \"type\": \"GSQCheckBox\",\n \"attribute\": \"visible\",\n \"valueFormula\": \"return GS.CONST.YES_NO[p.visible]\"\n },\n Object.override(GSQ.CONTROLS.DURATION, {\"lockable\": true}),\n GSQ.CONTROLS.WAIT_FOR_COMPLETION\n ],\n \"expandedView\": {\n \"columns\": [\n {\n \"sections\": [\n {\n \"label\": \"$$4B6665ACK640FA4A19S89F1E4F1070280626\",\n \"rows\": [\n GSQ.ROWS.EASING,\n GSQ.ROWS.APPEARANCE_ANIMATION\n ]\n } \n ]\n }\n ]\n },\n \"sections\": [\n ]\n}",
"name": "Message Box Visibility",
"order": 0
},
"summary": [
"name",
"type"
]
}
|