File tree Expand file tree Collapse file tree 3 files changed +593
-552
lines changed Expand file tree Collapse file tree 3 files changed +593
-552
lines changed Original file line number Diff line number Diff line change 13
13
module LifeModule
14
14
div Life
15
15
button ShowLife
16
+ button ShowLifeDoc
16
17
div Status
17
18
variable Content
18
19
variable Script
22
23
replace `/SHOW-IMAGESWITCHER/` with `<button id="show-imageswitcher">Show</button>` in Content
23
24
replace `/SHOW-USERCAPTURE/` with `<button id="show-usercapture">Show</button>` in Content
24
25
replace `/SHOW-LIFE/` with `<button id="show-life">Show</button>` in Content
26
+ replace `/LIFEDOC/` with `<button id="show-lifedoc">Here</button>` in Content
25
27
26
28
on message
27
29
begin
@@ -62,12 +64,15 @@ Start:
62
64
if LifeModule is not running
63
65
begin
64
66
wait 10 ticks
65
- rest get Script from `/resources/ecs/life .ecs`
67
+ rest get Script from `/resources/ecs/lifedemo .ecs`
66
68
run Script as LifeModule
67
69
attach Life to `ex-life`
68
70
attach ShowLife to `show-life`
69
71
fork to InitLife
70
72
end
73
+ attach ShowLifeDoc to `show-lifedoc`
74
+ on click ShowLifeDoc send `life` to parent
75
+
71
76
send to ImageSwitcherModule
72
77
stop
73
78
@@ -104,4 +109,4 @@ InitLife:
104
109
on click ShowLife go to InitLife
105
110
send `show` to LifeModule
106
111
end
107
- stop
112
+ stop
You can’t perform that action at this time.
0 commit comments