Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop multiple instances with stop button #3

Open
DigitallyTailored opened this issue Sep 12, 2021 · 4 comments
Open

Stop multiple instances with stop button #3

DigitallyTailored opened this issue Sep 12, 2021 · 4 comments

Comments

@DigitallyTailored
Copy link

Firstly, thanks for the great plugin!

It would be great if there was a stop button or if the existing stop button could stop all created instances. It seems to only stop one at the moment.

I see that hitting play while instances are running will close all existing ones so maybe this logic has already been implemented for a separate button?

@DavidPgl
Copy link

Adding a stop button that closes the main scene and all extra windows works for me:

func _stop_pressed():
	kill_pids()
	var interface = get_editor_interface()
	interface.stop_playing_scene()

(Couldn't find a way to connect it to the normal stop button)

@Av3r3tt
Copy link

Av3r3tt commented Oct 13, 2021

Uing this on MacOS, and when I press the Folder button, I get a strange OS window telling me the application couldn't be opened. I presume this might have to do with privileges and/or certificates on MacOS? I'm clueless as to the cause.

Screenshot

@Alejandro-dev99
Copy link

Uing this on MacOS, and when I press the Folder button, I get a strange OS window telling me the application couldn't be opened. I presume this might have to do with privileges and/or certificates on MacOS? I'm clueless as to the cause.

Screenshot

the same here

@Alejandro-dev99
Copy link

Uing this on MacOS, and when I press the Folder button, I get a strange OS window telling me the application couldn't be opened. I presume this might have to do with privileges and/or certificates on MacOS? I'm clueless as to the cause.
Screenshot

the same here

Solution: inside Multirun.gd
func _loaddir_pressed():
OS.shell_open("file://" + OS.get_user_data_dir())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants