Removing custom variables and functions

About advanced scenes, and the Thyme scripting language used in Algodoo.

Removing custom variables and functions

Postby Xray » Sat Feb 16, 2013 12:32 am

Sometimes I create a custom variable or function, for example: _var := {}, then later decide that I no longer need it. Is there some simple way to delete it from the script menu? If not, then I will add this request to the suggestions forum.
User avatar
Xray
 
Posts: 501
Joined: Sun Jun 17, 2012 6:12 am
Location: USA

Re: Removing custom variables and functions

Postby monstertje3 » Sat Feb 16, 2013 3:46 pm

ctrl-c object
paste code in notepad
remove your unwanted line
paste it in algodoo

magic!! :D
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
User avatar
monstertje3
 
Posts: 343
Joined: Sat Sep 05, 2009 4:29 pm
Location: N-H, NL

Re: Removing custom variables and functions

Postby Xray » Sat Feb 16, 2013 5:42 pm

monstertje3 wrote:ctrl-c object
paste code in notepad
remove your unwanted line
paste it in algodoo

magic!! :D


Okay, good idea. But I was hoping there was a simpler, quicker, more direct way of removing unwanted custom variables.

Thanks!
User avatar
Xray
 
Posts: 501
Joined: Sun Jun 17, 2012 6:12 am
Location: USA

Re: Removing custom variables and functions

Postby jon_joy_1999 » Sat Feb 16, 2013 7:25 pm

I think the warning at the top of the scripting window is applicable here :D ^^
Image
BSrac = BoincStats recent average credit
I'd rather be network computing.
jon_joy_1999
 
Posts: 233
Joined: Fri Dec 09, 2011 12:51 am

Re: Removing custom variables and functions

Postby Xray » Sat Feb 16, 2013 7:36 pm

jon_joy_1999 wrote:I think the warning at the top of the scripting window is applicable here :D ^^


You're not very helpful. :problem:
User avatar
Xray
 
Posts: 501
Joined: Sun Jun 17, 2012 6:12 am
Location: USA

Re: Removing custom variables and functions

Postby Kilinich » Sat Feb 16, 2013 8:34 pm

Same problem wich scene.my. variables, the only way to remove it is unpack .phz and edit .phn
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Removing custom variables and functions

Postby Xray » Sat Feb 16, 2013 11:43 pm

Kilinich wrote:Same problem wich scene.my. variables, the only way to remove it is unpack .phz and edit .phn


Thanks, Kilinich. I'm going to make a suggestion, although I realize it would be low priority.
User avatar
Xray
 
Posts: 501
Joined: Sun Jun 17, 2012 6:12 am
Location: USA


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 4 guests