コメント
このコメントは、【トピック】カスタムメニューへのコメントです。コメントの内容
コメントの内容(一番最初の投稿)
どうも。原因は分かりませんが、とりあえず、
と打ってみてください。
私がよく使うスクリプトですので。
setCustomParamMenuEnable(true)
setCustomParamMenuName("keyアイテム")
setVariable("アイテム1", 1)
setVariable("アイテム2", 0)
def onShowCustomParameter()
case speakWithSelect(3,
if getVariable("アイテム1")==1
"アイテム1"
elsif getVariable("アイテム2")==1
"アイテム2"
end,
"どのアイテムを使いますか?\n")
when 0
when 1
end
end
と打ってみてください。
私がよく使うスクリプトですので。
setCustomParamMenuEnable(true) setCustomParamMenuName("keyアイテム") setVariable("アイテム1", 1) setVariable("アイテム2", 0) def onShowCustomParameter() case speakWithSelect(3, if getVariable("アイテム1")==1 "アイテム1" elsif getVariable("アイテム2")==1 "アイテム2" end, "どのアイテムを使いますか?\n") when 0 when 1 end endと打ってみてください。
私がよく使うスクリプトですので。