How to open a website?

Status
Not open for further replies.

Teddy97

Veteran
Veteran
Joined
Apr 3, 2018
Messages
49
Reaction score
22
First Language
German
Primarily Uses
RMMV
Hello,

I’d like to open an internet website when the player talks to a specific NPC. Is there a script call or plugin to achieve this?

Thank you in advance!
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,946
Reaction score
640
First Language
Dutch
Primarily Uses
RMMV
Code:
// Open URL in a new window
window.open('https://github.com/nwjs/nw.js', '_blank');

// Open URL with default browser (Windows Or Mac Only)
require('nw.gui').Shell.openExternal('https://github.com/nwjs/nw.js');
it was found here if you looked through the forum or google for it
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,797
Reaction score
8,205
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I've noticed that more videos on YouTube have these segmented bookmark things in the videos themselves. It's nice being able to jump to parts of a video you want, and to have them all clearly labelled.
Why you do this? Now I have to buy the new RPG Maker xD
I've always dreaded planning for my games so I just didn't plan at all. That... didn't work out after all. :kaosigh:
Turns out it can be kind of fun if you keep the scope small and don't take it way too seriously.
well... for the first time in months... I feel like my game is headed towards something again. I finally have it where I won't be drawing battle assets for the rest of the year...

Forum statistics

Threads
99,569
Messages
966,743
Members
131,223
Latest member
aishafer001
Top