Title: Grand Piano and "Posh" Room
Rating: 5.8
Filesize: 469.98 kB
Downloads: 630
Comments: 3
Ratings: 5
Date added: 2008/08/28 02:34:43
Made with: Phun
Title: drop the destructable steel piano on the workers
Rating: 5
Filesize: 419.76 kB
Downloads: 1028
Comments: 0
Ratings: 1
Date added: 2009/12/24 05:59:56
Made with: Phun
Quote: "Is there a way to delete a custom variable (_variable = 0;) from an object?"
Unfortunately, no. I have wished for such a thing many years ago but it just was not included in any of the Algodoo updates.
Here is what I sometimes will do with a local (custom) variable that I no longer need. I write "not used" (include quotes) in the variable data area. In some cases I might have 5 or more variables with "not used" in their data areas! That will remind me at a later date which variables are no longer used. If you simply give them a zero value (_var = 0) then you might forget later whether a variable is still used or not.
Q: Is there a way to delete a custom variable?
A: Copy the object. Paste into text editor. Delete dead variables. Copy All. Paste into scene. Delete original object.