Last change
on this file since 18203 was 17012, checked in by tbretz, 11 years ago |
Move code to crateReset.js to be able to access that also from Main.js
|
File size:
707 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | // ==========================================================================
|
---|
4 | // Reset Crate
|
---|
5 | // ==========================================================================
|
---|
6 |
|
---|
7 | // call it with: .js doCrateReset.js crate0=true crate3=true
|
---|
8 | // or: DIM_CONTROL/START doCrateReset.js crate0=true crate3=true
|
---|
9 |
|
---|
10 | // -------------------------------------------------------------------------
|
---|
11 |
|
---|
12 | include('scripts/CheckStates.js');
|
---|
13 |
|
---|
14 | var crates =
|
---|
15 | [
|
---|
16 | $['camera']=='true' || $['crate0']=='true',
|
---|
17 | $['camera']=='true' || $['crate1']=='true',
|
---|
18 | $['camera']=='true' || $['crate2']=='true',
|
---|
19 | $['camera']=='true' || $['crate3']=='true'
|
---|
20 | ];
|
---|
21 |
|
---|
22 | include('scripts/crateReset.js');
|
---|
23 |
|
---|
24 | crateReset(crates);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.