[beginner] how to stop freepie script with a keypress

Official forum for open source FreePIE discussion and development.
Post Reply
User avatar
Moromillas
One Eyed Hopeful
Posts: 8
Joined: Wed Sep 23, 2015 7:31 pm

[beginner] how to stop freepie script with a keypress

Post by Moromillas »

Hi,

Been searching up and down for a way to do this, something like:

Code: Select all

if keyboard.getKeyDown(Key.LeftAlt):
	StopScript()
Just to stop the script on keypress.

So, how do you do this?
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: [beginner] how to stop freepie script with a keypress

Post by CyberVillain »

It's actually not possible :) that something I should fix I guess :)

You can make the script crash and the script will stop
Post Reply

Return to “FreePIE”