

Nextrek
@ 1348
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 |
{ "uid": "696004795B7F5046323BC2147AE934FBBF90", "isLoaded": true, "lastModificationTime": 0, "items": { "name": "Open Settings Menu (Right Click)", "type": "data_record", "order": 3, "category": "commonEvents", "id": "696004795B7F5046323BC2147AE934FBBF90", "isFolder": false, "parentId": "665F7EFC4091674CD6383D3829AD031A9CCC", "data": { "name": "Open Settings Menu (Right Click)", "startCondition": 1, "conditionEnabled": true, "parallel": true, "autoPreload": true, "singleInstance": true, "inline": false, "parameters": [], "commands": [ { "id": "gs.Comment", "params": { "text": "This common event runs in the background in parallel to the scene to allow the player to open the settings menu with right click. It check if the right mouse button has been pressed using the \"Input Data\" command. It stores the state of the right button in the local number variable 0001 \"Right Button\". If that variable contains 1, it means the button is pressed. In that case, it switches to the \"Settings Menu\" scene. That all only happens if the \"In Game\" switch is ON which indicates that we are in a game scene right now and not in another menu." }, "indent": 0, "uid": "C3417E5D8B09E9414A886364678C81E97910", "expanded": true }, { "id": "gs.Condition", "params": { "variable": { "name": "Backlog Opened", "index": 1, "scope": 1, "changed": true, "domain": "com.degica.vnm.default" }, "numberValue": 0, "textValue": { "scope": 1, "index": 0, "domain": "com.degica.vnm.default" }, "switchValue": 0, "valueType": 1, "operation": 0, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 0, "uid": "CDD749796453F2489258E10656F188C683B7" }, { "id": "gs.GetInputData", "params": { "field": 12, "state": 0, "targetVariable": { "name": "Right Button", "index": 0, "scope": 0 }, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 1, "uid": "A8BD58F80832A741E02BF5D5DACF23FD8DBC" }, { "id": "gs.Condition", "params": { "variable": { "name": "Right Button", "index": 0, "scope": 0 }, "numberValue": 1, "textValue": { "scope": 1, "index": 0, "domain": "com.degica.vnm.default" }, "switchValue": 0, "valueType": 0, "operation": 0, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 1, "uid": "19A38A8D8BCF824CED2BF89927D400362649" }, { "id": "gs.ChangeBooleanVariables", "params": { "target": 0, "targetReference": { "scope": 1, "index": 0, "domain": "com.degica.vnm.default" }, "targetVariable": { "name": "In Game", "scope": 1, "index": 0, "domain": "com.degica.vnm.default" }, "targetRangeScope": 0, "rangeStart": 0, "rangeEnd": 0, "value": 1, "previewBackground": { "name": "$live_preview_snapshot" }, "targetReferenceDomain": "com.degica.vnm.default" }, "indent": 2, "uid": "06A5C2C039A7234B844AC687D63F9C1FE0F2" }, { "id": "vn.ChangeScene", "params": { "scene": { "uid": "20047CED82D9664F912885F8DD2F79B3C1E8", "name": "Settings Menu" }, "savePrevious": 1, "duration": 20, "erasePictures": 0, "eraseTexts": 0, "eraseVideos": 0, "fieldFlags": { "duration": 1 }, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 2, "uid": "4A63E5D98A1CE740C728054544963ADAC580", "expanded": false } ], "index": "696004795B7F5046323BC2147AE934FBBF90", "booleanVariables": [ { "name": "", "index": 0, "scope": 0 } ], "numberVariables": [ { "name": "Right Button", "index": 0, "scope": 0 } ], "stringVariables": [ { "name": "", "index": 0, "scope": 0 } ], "conditionSwitch": { "name": "In Game", "scope": 1, "index": 0, "changed": true, "domain": "com.degica.vnm.default" }, "defaultExpressionId": "BF7CB12110894142C299D341A545C910AA86" }, "localizableStrings": {} }, "summary": [ "name", "type", "order" ] } |