

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 |
{ "uid": "281DB3B355CF0747EC8BC489D060D1E2D442", "isLoaded": true, "lastModificationTime": 0, "items": { "name": "Toggle Auto Message", "type": "data_record", "order": 9, "category": "commonEvents", "id": "281DB3B355CF0747EC8BC489D060D1E2D442", "isFolder": false, "parentId": "665F7EFC4091674CD6383D3829AD031A9CCC", "data": { "name": "Toggle Auto Message", "startCondition": 0, "conditionEnabled": false, "parallel": false, "autoPreload": true, "singleInstance": true, "inline": false, "parameters": [], "commands": [ { "id": "gs.Comment", "params": { "text": "We call this common event whenever the user clicks on the \"Auto\" link in our message box. In that case, we get the current auto message setting and store it in a local switch \"Auto Message\". That switch will be ON if the Auto Message is already enabled or OFF if it's disabled. After that we toggle that local switch, means if the switch is ON it becomes OFF and vice versa. With the last command, we set the current auto message setting to the value of our local switch.\n\nSo if this common event is called, Auto Message will be disabled if it was enabled before and vice versa." }, "indent": 0, "uid": "C028B5C73942304E9818D454AE315C4EF950", "expanded": true }, { "id": "vn.GetGameData", "params": { "field": 11, "targetVariable": { "name": "Auto Message", "index": 0, "scope": 0 }, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 0, "uid": "A502F63C8498C2475549B951762BE6C9A322" }, { "id": "gs.ChangeBooleanVariables", "params": { "target": 0, "targetVariable": { "name": "Auto Message", "index": 0, "scope": 0 }, "targetRangeScope": 0, "rangeStart": 0, "rangeEnd": 0, "value": 2, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 0, "uid": "EEF7FE0D2942264C1F8884385D17876A4FBE" }, { "id": "vn.SetGameData", "params": { "field": 3, "numberValue": 0, "textValue": { "scope": 1, "index": 0, "domain": "com.degica.vnm.default" }, "switchValue": { "name": "Auto Message", "index": 0, "scope": 0 } }, "indent": 0, "uid": "3464BCAF798782477128A425DDC54C6404AA" } ], "index": "281DB3B355CF0747EC8BC489D060D1E2D442", "booleanVariables": [ { "name": "Auto Message", "index": 0, "scope": 0 } ], "numberVariables": [ { "name": "", "index": 0, "scope": 0 } ], "stringVariables": [ { "name": "", "index": 0, "scope": 0 } ], "defaultExpressionId": "BF7CB12110894142C299D341A545C910AA86" }, "localizableStrings": {} }, "summary": [ "name", "type", "order" ] } |