New Method Don't Save?
13 posts • Page 1 of 1
New Method Don't Save?
Hello, Well the title describes my problem.
I rarely use the new method because it don't save in my scene. Should it be saved, or am I just unlucky?
So basically: Can I save a "GeomID = 1" (without quotes) in an object, and then save the scene and load it and when I select the object I'll see GeomID = 1 in the script menu?
If so, why can't I do it..?
I rarely use the new method because it don't save in my scene. Should it be saved, or am I just unlucky?
So basically: Can I save a "GeomID = 1" (without quotes) in an object, and then save the scene and load it and when I select the object I'll see GeomID = 1 in the script menu?
If so, why can't I do it..?
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: New Method Don't Save?
The correct code is
- Code: Select all
geomID := 1
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: New Method Don't Save?
Please help me this is really anoying. I want to make some nice scenes that I need to have this. 
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: New Method Don't Save?
internal object variables are not saved with the scene yet as far as i know, and just putting GeomID := 1 in the script menu dosn't mean that it changes it to 1.
The point of the new method is to retrive the hidden information through script, which is saved.
so, if you want to have an object have a GeomID, you will have to use the New Method to retrive the one algodoo gives it, save it to a variable, and then use it in the scene.
The point of the new method is to retrive the hidden information through script, which is saved.
so, if you want to have an object have a GeomID, you will have to use the New Method to retrive the one algodoo gives it, save it to a variable, and then use it in the scene.
-

Versieon - Posts: 375
- Joined: Tue Sep 01, 2009 4:45 pm
Re: New Method Don't Save?
Oh that probably it, you forgot the method from new-method.
Put in GeomID := 1
Either in the console or oncollide pump in
Then geomID should change to its real GeomID
Put in GeomID := 1
Either in the console or oncollide pump in
- Code: Select all
app.step; app.undo
Then geomID should change to its real GeomID
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: New Method Don't Save?
I also did that. But it's not there when I load the scene (after I saved it ofcourse)
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: New Method Don't Save?
It shouldn't actually be a problem even if geomid isn't displayed you can still use it, you find it once and you should be done with it put it in the code somewhere else where it is needed and move on with your life.
Also post what version you are using.
Also post what version you are using.
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: New Method Don't Save?
- Code: Select all
e.other.geomID = 3;
e.this.geomID = 3;
app.step;
app.undo;
-

simey j dude - Posts: 61
- Joined: Sat Sep 05, 2009 3:11 am
- Location: under your bed!
Re: New Method Don't Save?
OKey I'll try this;
@Mystery: I'm using the [v 1.7.4] BETA
@Mystery: I'm using the [v 1.7.4] BETA
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: New Method Don't Save?
But hey, I've seen uploaded scenes with geomID 
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: New Method Don't Save?
My guess is a bug or really a fix of a bug
in 1.7.4 but like i said before it doesn't matter in the slightest.
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: New Method Don't Save?
guess you're right. Hope it'll work sometime 
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
13 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests




