Losing scripts
14 posts • Page 1 of 1
Losing scripts
it happens to me alot that my scripts just vanish.
for example, when i put this in the text script box : {scene.my.text}
then it works for a short time, but if i then click play to test something out, and then just press the back button agian untill before the sim start, the script is gone.
this also is the same when i save it, oncollide scripts and onlaserhit scripts just stay, but at most other things (like text) they just disappear.
is there anything i can do to stop this from happening?
for example, when i put this in the text script box : {scene.my.text}
then it works for a short time, but if i then click play to test something out, and then just press the back button agian untill before the sim start, the script is gone.
this also is the same when i save it, oncollide scripts and onlaserhit scripts just stay, but at most other things (like text) they just disappear.
is there anything i can do to stop this from happening?
- orbitor
- Posts: 7
- Joined: Fri Feb 05, 2010 2:29 pm
Re: Losing scripts
next time type in {"" + scene.my.text} so this text gets converted to string (because only strings work in the text script box and no numbers)

-

KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: Losing scripts
I've done that now, but it also doesn't work.
the script just disappears again
the script just disappears again
- orbitor
- Posts: 7
- Joined: Fri Feb 05, 2010 2:29 pm
Re: Losing scripts
i also get this problem with a few lines but not with the text. do you always press enter after you entered {"" + scene.my.text} to the text box?
maybe you have to try another scene. So make a new scene and try it again. maybe at least then it's working
maybe you have to try another scene. So make a new scene and try it again. maybe at least then it's working

-

KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: Losing scripts
I've done both of those things, but it still doesnt work.
this is very anoying because i can't really build a scene like this :/
this is very anoying because i can't really build a scene like this :/
- orbitor
- Posts: 7
- Joined: Fri Feb 05, 2010 2:29 pm
Re: Losing scripts
are you sure you did everything just right? just to be sure: did you declare scene.my.text or other variables if you need them?

-

KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: Losing scripts
Yes i did.
it also works one time, but when i try it another time, it doesnt work anymore
it also works one time, but when i try it another time, it doesnt work anymore
- orbitor
- Posts: 7
- Joined: Fri Feb 05, 2010 2:29 pm
Re: Losing scripts
weird. i don't know what's wrong with it. i never had this problem for texts. just for some other things like attraction.

-

KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: Losing scripts
Yea, i got it too with attraction settings. tried to make a scene once using that too. had the same problem.
actually now i start thinking, it indeed never happend before to me either. i've made scenes before using the text script function, however it always used to stay there.
really weird :/
actually now i start thinking, it indeed never happend before to me either. i've made scenes before using the text script function, however it always used to stay there.
really weird :/
- orbitor
- Posts: 7
- Joined: Fri Feb 05, 2010 2:29 pm
Re: Losing scripts
or another idea (accrued from despair^^): delete your config file and try it again 

-

KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: Losing scripts
It's probably The Bug (that deletes lines of coding when you undo or load) again.
TheWinkits wrote:They both looks of cuking amazing
-

Chronos - [Most Active Member 2010]
- Posts: 4457
- Joined: Mon Aug 31, 2009 6:00 pm
- Location: Californania
Re: Losing scripts
KarateBrot wrote:or another idea (accrued from despair^^): delete your config file and try it again
already tried that aswell :/ didnt make a difference.
and yes, it indeed removes lines when saving or pressing undo.
- orbitor
- Posts: 7
- Joined: Fri Feb 05, 2010 2:29 pm
Re: Losing scripts
Then it's The Bug. Really common, and it's being worked on, I think.
TheWinkits wrote:They both looks of cuking amazing
-

Chronos - [Most Active Member 2010]
- Posts: 4457
- Joined: Mon Aug 31, 2009 6:00 pm
- Location: Californania
Re: Losing scripts
It's the same problem which i posted before
, one time Algodoo saved my script even when i saved the scene and reloaded it, but then only 2 min or so later, the script was deleted again xD i really think that this is a bug, because I've really done everything right. I hope it will be fixed soon, because it's really annoying. I can't explain it to myself why it sometimes works and sometimes not 
-

Ling-Ling - Posts: 5
- Joined: Mon Feb 22, 2010 10:38 pm
- Location: Germany
14 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests



