MessageWindowPopup.js

pasunna
記事: 16
登録日時: 2019年11月08日(金) 19:31

MessageWindowPopup.js

投稿記事by pasunna » 2020年3月01日(日) 02:20

hi
Is there a way to use popup feature by script call
I mean by
$gameMessage.add('text to show')
It shows the normal window
thank you

アバター
トリアコンタン
記事: 2311
登録日時: 2015年11月10日(火) 21:13
お住まい: きのこ王国
連絡を取る:

Re: MessageWindowPopup.js

投稿記事by トリアコンタン » 2020年3月01日(日) 16:31

Normally only that script is enough.
However, only when specified at the end of the event, one wait frame is required.

This is because when the event is over, the popup target is automatically released.

ex

コード: 全て選択

◆Script:$gameMessage.add('text to show');
◆Wait:1 frame
プラグイン関連のトラブルが発生した際の切り分けと報告の方法です。
http://qiita.com/triacontane/items/2e227e5b5ce9503a2c30

[Blog] : http://triacontane.blogspot.jp/
[Twitter]: https://twitter.com/triacontane/
[GitHub] : https://github.com/triacontane/
pasunna
記事: 16
登録日時: 2019年11月08日(金) 19:31

Re: MessageWindowPopup.js

投稿記事by pasunna » 2020年3月02日(月) 05:20

Hi
Can it call by other functions
I mean I use it in my custom window(in plugin the window is sub of scene map so it not interrupt message )
And I want the free position popup to apply is it possible
Because now it show normal window
Thank you
アバター
トリアコンタン
記事: 2311
登録日時: 2015年11月10日(火) 21:13
お住まい: きのこ王国
連絡を取る:

Re: MessageWindowPopup.js

投稿記事by トリアコンタン » 2020年3月03日(火) 23:13

If you want to pop up from other than event command, execute the following script.

コード: 全て選択

$gameSystem.setMessagePopup(n);

n : Event ID

Tweaking the position of the popup is difficult. Appears where the event is.

Sorry if you do not understand the question correctly.
プラグイン関連のトラブルが発生した際の切り分けと報告の方法です。
http://qiita.com/triacontane/items/2e227e5b5ce9503a2c30

[Blog] : http://triacontane.blogspot.jp/
[Twitter]: https://twitter.com/triacontane/
[GitHub] : https://github.com/triacontane/
pasunna
記事: 16
登録日時: 2019年11月08日(金) 19:31

Re: MessageWindowPopup.js

投稿記事by pasunna » 2020年3月04日(水) 13:59

Hi
I mean when use
◆Plugin Command:MWP_FREE 480 520
that bind message window to the coordinate not event
but when use $gamemessage it show normal window
thank you
アバター
トリアコンタン
記事: 2311
登録日時: 2015年11月10日(火) 21:13
お住まい: きのこ王国
連絡を取る:

Re: MessageWindowPopup.js

投稿記事by トリアコンタン » 2020年3月04日(水) 22:46

Hi.
Can you explain the problem you are having with the image?

ex:Event editer
スクリーンショット 2020-03-04 22.43.10.png


ex:Test
スクリーンショット 2020-03-04 22.44.26.png
プラグイン関連のトラブルが発生した際の切り分けと報告の方法です。
http://qiita.com/triacontane/items/2e227e5b5ce9503a2c30

[Blog] : http://triacontane.blogspot.jp/
[Twitter]: https://twitter.com/triacontane/
[GitHub] : https://github.com/triacontane/
pasunna
記事: 16
登録日時: 2019年11月08日(金) 19:31

Re: MessageWindowPopup.js

投稿記事by pasunna » 2020年3月04日(水) 23:45

hi... maybe never mind
I want to show the popup text
in a minigame that I make by my custom window plugin
so I want to like when select index 0 show text etc
but when use it by code
it show normal window text

maybe I will call show text from event instead
thank you for your time
pasunna
記事: 16
登録日時: 2019年11月08日(金) 19:31

Re: MessageWindowPopup.js

投稿記事by pasunna » 2020年5月28日(木) 05:08

hi again
I'm try the plugin with new project without other plugin
but the popup don't show up like you did

画像
画像

not sure what I do wrong or there are other problem
アバター
トリアコンタン
記事: 2311
登録日時: 2015年11月10日(火) 21:13
お住まい: きのこ王国
連絡を取る:

Re: MessageWindowPopup.js

投稿記事by トリアコンタン » 2020年5月28日(木) 23:13

Hi.
If you want to display a message in a script, you need to wait.

2020-05-28 (1).png
プラグイン関連のトラブルが発生した際の切り分けと報告の方法です。
http://qiita.com/triacontane/items/2e227e5b5ce9503a2c30

[Blog] : http://triacontane.blogspot.jp/
[Twitter]: https://twitter.com/triacontane/
[GitHub] : https://github.com/triacontane/
pasunna
記事: 16
登録日時: 2019年11月08日(金) 19:31

Re: MessageWindowPopup.js

投稿記事by pasunna » 2020年5月29日(金) 00:14

thank you
that time I just wonder what is the red text line in the picture :oops:

“MV:質問” へ戻る