右键点击处理子程序内/extracondutor在子程序内无法加入可以保存的标签剧本。
囧,我知道是因为没放对return,可是实在不知道return该放哪了。
以下是我的rclick.ks:
*rclick
[history output=false enabled=false]
[tempsave]
[position layer=message0 visible = false]
[position layer=message1 visible = false]
[cm]
[image layer=2 page=back storage="rclick_menu" visible=true left=0 top=0]
[position layer=message1 page=back left=85 top=150 width=600 height=290 marginl=0 margint=0 marginr=0 marginb=0 opacity=0 visible=true color=0x000000]
[current page=back layer=message1][er][nowait]
[locate x=30 y=80][link target=*save]存档[endlink]
[locate x=30 y=120][link target=*load]读档[endlink]
[locate x=30 y=160][link target=*main]回到主菜单[endlink]
[endnowait]
[trans method=crossfade time=800][wt]
[rclick jump=true target=*drclick enabled=true]
[s]
*drclick
[position layer=message1 page=back visible=false]
[current page=back layer=message1][er][trans method=crossfade time=800][wt]
[rclick call=true target=*rclick enabled=true]
[current layer=message0]
[freeimage layer=2]
[position layer=message0 page=fore left=150 top=400 width=600 height=180 marginl=10 margint=10 marginb=10 marginr = 10]
[position layer=message1 page=fore left=150 top=350 width=150 height=40 marginl=5 margint=5 marginb=5 marginr = 5]
[history output=true enabled=true]
[tempload]
[return]
*save
[position layer=message1 page=back left=85 top=150 width=600 height=290 marginl=0 margint=0 marginr=0 marginb=0 opacity=0 visible=true color=0x000000]
*save0
[current page=back layer=message1][er][nowait]
[locate x=10 y=5]储存
[locate x=20 y=50]档案1 [link target=*savedata1][emb exp="kag.bookMarkNames[0]" cond="kag.bookMarkDates[0] != void"] [emb exp="kag.bookMarkDates[0]" cond="kag.bookMarkDates[0] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[0] == void"][endlink]
[locate x=20 y=80]档案2 [link target=*savedata2][emb exp="kag.bookMarkNames[1]" cond="kag.bookMarkDates[1] != void"] [emb exp="kag.bookMarkDates[1]" cond="kag.bookMarkDates[1] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[1] == void"][endlink]
[locate x=20 y=110]档案3 [link target=*savedata3][emb exp="kag.bookMarkNames[2]" cond="kag.bookMarkDates[2] != void"] [emb exp="kag.bookMarkDates[2]" cond="kag.bookMarkDates[2] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[2] == void"][endlink]
[locate x=20 y=140]档案4 [link target=*savedata4][emb exp="kag.bookMarkNames[3]" cond="kag.bookMarkDates[3] != void"] [emb exp="kag.bookMarkDates[3]" cond="kag.bookMarkDates[3] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[3] == void"][endlink]
[locate x=20 y=170]档案5 [link target=*savedata5][emb exp="kag.bookMarkNames[4]" cond="kag.bookMarkDates[4] != void"] [emb exp="kag.bookMarkDates[4]" cond="kag.bookMarkDates[4] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[4] == void"][endlink]
囧,我知道是因为没放对return,可是实在不知道return该放哪了。
以下是我的rclick.ks:
*rclick
[history output=false enabled=false]
[tempsave]
[position layer=message0 visible = false]
[position layer=message1 visible = false]
[cm]
[image layer=2 page=back storage="rclick_menu" visible=true left=0 top=0]
[position layer=message1 page=back left=85 top=150 width=600 height=290 marginl=0 margint=0 marginr=0 marginb=0 opacity=0 visible=true color=0x000000]
[current page=back layer=message1][er][nowait]
[locate x=30 y=80][link target=*save]存档[endlink]
[locate x=30 y=120][link target=*load]读档[endlink]
[locate x=30 y=160][link target=*main]回到主菜单[endlink]
[endnowait]
[trans method=crossfade time=800][wt]
[rclick jump=true target=*drclick enabled=true]
[s]
*drclick
[position layer=message1 page=back visible=false]
[current page=back layer=message1][er][trans method=crossfade time=800][wt]
[rclick call=true target=*rclick enabled=true]
[current layer=message0]
[freeimage layer=2]
[position layer=message0 page=fore left=150 top=400 width=600 height=180 marginl=10 margint=10 marginb=10 marginr = 10]
[position layer=message1 page=fore left=150 top=350 width=150 height=40 marginl=5 margint=5 marginb=5 marginr = 5]
[history output=true enabled=true]
[tempload]
[return]
*save
[position layer=message1 page=back left=85 top=150 width=600 height=290 marginl=0 margint=0 marginr=0 marginb=0 opacity=0 visible=true color=0x000000]
*save0
[current page=back layer=message1][er][nowait]
[locate x=10 y=5]储存
[locate x=20 y=50]档案1 [link target=*savedata1][emb exp="kag.bookMarkNames[0]" cond="kag.bookMarkDates[0] != void"] [emb exp="kag.bookMarkDates[0]" cond="kag.bookMarkDates[0] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[0] == void"][endlink]
[locate x=20 y=80]档案2 [link target=*savedata2][emb exp="kag.bookMarkNames[1]" cond="kag.bookMarkDates[1] != void"] [emb exp="kag.bookMarkDates[1]" cond="kag.bookMarkDates[1] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[1] == void"][endlink]
[locate x=20 y=110]档案3 [link target=*savedata3][emb exp="kag.bookMarkNames[2]" cond="kag.bookMarkDates[2] != void"] [emb exp="kag.bookMarkDates[2]" cond="kag.bookMarkDates[2] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[2] == void"][endlink]
[locate x=20 y=140]档案4 [link target=*savedata4][emb exp="kag.bookMarkNames[3]" cond="kag.bookMarkDates[3] != void"] [emb exp="kag.bookMarkDates[3]" cond="kag.bookMarkDates[3] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[3] == void"][endlink]
[locate x=20 y=170]档案5 [link target=*savedata5][emb exp="kag.bookMarkNames[4]" cond="kag.bookMarkDates[4] != void"] [emb exp="kag.bookMarkDates[4]" cond="kag.bookMarkDates[4] != void"][emb exp="'-----------------------------------------'" cond="kag.bookMarkDates[4] == void"][endlink]