New method not working
10 posts • Page 1 of 1
New method not working
Hello I don't know if this is an 1.7 bug but anyways, when I make a hinge spawner I gave it and the other colliding object two different GeomIDs. I tried it and it worked. So I saved the scene but when I load it again The GeomIDs are gone. How come??
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: New method not working
Post your codes.
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: New method not working
thats coz the geomID retrieved by "new method" is stored just like any custom var and is lost upon reload, you have to build it so that it uses the method every time you load the scene
- Mr_Stabby
- Posts: 155
- Joined: Wed Dec 16, 2009 12:16 am
Re: New method not working
Fyi it is Method-X, not "New Method" 
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: New method not working
Mystery, stop calling it that shitty name.
You're the only one who calls it that. By majority, it's called the New Method.
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: New method not working
Is there anyway to make it stick when I load the scene? ( I'm typing it in existing objects )
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: New method not working
You could put the code to start it into an objects oncollide, make the object hit something before anything else happens, and then make it delete itself. If that doesn't work because objects that need the New Method are already created, you could always spawn the scene after. 
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: New method not working
too tricky solution since objects cant add custom vars to themselves (would have to bounce a script back and forward between the object and its collider or spawn something) and no there is no way to make it stick especially since its dynamic and gets changed upon instancing. the only solution tbh is just to control the scene, i mean all it takes is a hit from a laser or whatever.. every object starts from somewhere - thats where you put the script
- Mr_Stabby
- Posts: 155
- Joined: Wed Dec 16, 2009 12:16 am
10 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests




