

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 189 190 191 192 193 194 195 |
{ "uid": "611C50B503B7324D026B38669E1A2D89103D", "isLoaded": true, "lastModificationTime": 0, "items": { "name": "Update Pages", "type": "data_record", "order": 1, "category": "commonEvents", "id": "611C50B503B7324D026B38669E1A2D89103D", "isFolder": false, "parentId": "72A65D9D3FA5C349F70A8EB8E315DC45F796", "data": { "name": "Update Pages", "startCondition": 0, "conditionEnabled": false, "parallel": false, "autoPreload": true, "singleInstance": true, "inline": true, "parameters": [], "commands": [ { "id": "gs.Comment", "params": { "text": "This common event is inlined, so it is pasted into the scene at the position of the \"Call Common Event\" command. So all local variables accessed here are the local variables of the scene. The local numbers from 0001 to 0005 represent the selection-status of the 1 to 5 page numbers at the bottom of the screen. Since that page numbers are displayed via an image-map, they can be all selected independent from each that. But for this example, we have to make sure that only one page can be active at a time. So in the \"Show Image Map\" command of scene, we bound the pages 1 to 5 to the Switches 0001 to 0005.\n\nWhat we do here is that we set all 5 switches to OFF and then only turn the switch on for the current selected page. Since the switch is bound to the hotspot of the image, changing the switch also changes the hotspot state. So with that, we implemented a small logic here which makes sure that only one switch/hotspot can be selected at the same time." }, "indent": 0, "uid": "4943D52850A5F34CEA580BB4CBFEA7C6A887", "expanded": true }, { "id": "gs.ChangeBooleanVariables", "params": { "target": 0, "targetVariable": { "name": "Page 1", "index": 0, "scope": 0 }, "targetRangeScope": 0, "rangeStart": 0, "rangeEnd": 0, "value": 0, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 0, "uid": "DE10DB381172A246D01BAF984902DCD1641F" }, { "id": "gs.ChangeBooleanVariables", "params": { "target": 0, "targetVariable": { "name": "Page 2", "index": 1, "scope": 0 }, "targetRangeScope": 0, "rangeStart": 0, "rangeEnd": 0, "value": 0, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 0, "uid": "265C235F4937D044EA5B5975AE961E7E62D4" }, { "id": "gs.ChangeBooleanVariables", "params": { "target": 0, "targetVariable": { "name": "Page 3", "index": 2, "scope": 0 }, "targetRangeScope": 0, "rangeStart": 0, "rangeEnd": 0, "value": 0, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 0, "uid": "4ABBBC170EB3F5466B2A40A3C9BACF94254A" }, { "id": "gs.ChangeBooleanVariables", "params": { "target": 0, "targetVariable": { "name": "Page 4", "index": 3, "scope": 0 }, "targetRangeScope": 0, "rangeStart": 0, "rangeEnd": 0, "value": 0, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 0, "uid": "F4B65ECE690AD744E45B97D3FB8EA9911CDF" }, { "id": "gs.ChangeBooleanVariables", "params": { "target": 0, "targetVariable": { "name": "Page 5", "index": 4, "scope": 0 }, "targetRangeScope": 0, "rangeStart": 0, "rangeEnd": 0, "value": 0, "previewBackground": { "name": "$live_preview_snapshot" } }, "indent": 0, "uid": "5ABEBB928A7EF34FFD3B20D98056077C1EEE" }, { "id": "gs.ChangeBooleanVariables", "params": { "target": 2, "targetReference": { "name": "Page", "index": 1, "scope": 0 }, "targetVariable": { "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": 0, "uid": "1E2B7C8176AE624DAF0A1D02C0BC800AFC5A" } ], "index": "611C50B503B7324D026B38669E1A2D89103D", "booleanVariables": [ { "name": "", "index": 0, "scope": 0 } ], "numberVariables": [ { "name": "", "index": 0, "scope": 0 }, { "name": "Page", "index": 1, "scope": 0 } ], "stringVariables": [ { "name": "", "index": 0, "scope": 0 } ], "defaultExpressionId": "BF7CB12110894142C299D341A545C910AA86" }, "localizableStrings": {} }, "summary": [ "name", "type", "order" ] } |