ページ 11

MessageWindowPopup.js

Posted: 2020年3月01日(日) 02:20
by pasunna
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

Re: MessageWindowPopup.js

Posted: 2020年3月01日(日) 16:31
by トリアコンタン
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

Re: MessageWindowPopup.js

Posted: 2020年3月02日(月) 05:20
by pasunna
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

Re: MessageWindowPopup.js

Posted: 2020年3月03日(火) 23:13
by トリアコンタン
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.

Re: MessageWindowPopup.js

Posted: 2020年3月04日(水) 13:59
by pasunna
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

Re: MessageWindowPopup.js

Posted: 2020年3月04日(水) 22:46
by トリアコンタン
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

Re: MessageWindowPopup.js

Posted: 2020年3月04日(水) 23:45
by pasunna
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

Re: MessageWindowPopup.js

Posted: 2020年5月28日(木) 05:08
by pasunna
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

Re: MessageWindowPopup.js

Posted: 2020年5月28日(木) 23:13
by トリアコンタン
Hi.
If you want to display a message in a script, you need to wait.

2020-05-28 (1).png

Re: MessageWindowPopup.js

Posted: 2020年5月29日(金) 00:14
by pasunna
thank you
that time I just wonder what is the red text line in the picture :oops: