ChangeParent error

Non-platform specific questions.

ChangeParent error

Postby phyzix5761 » Wed May 02, 2012 6:21 am

Trying to use change parent after I move a group of actor but when I set the parent parameter to NONE it makes the actors fly off the screen. Any way around this?
phyzix5761
 
Posts: 261
Joined: Sun Feb 27, 2011 4:28 am
Score: 18 Give a positive score

Re: ChangeParent error

Postby Hblade » Wed May 02, 2012 6:39 am

ChangeParent("Event Actor", "parent actor");
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: ChangeParent error

Postby phyzix5761 » Wed May 02, 2012 7:18 am

Tried. It doesn't make them fly off the screen anymore but they are still parented to the same actor.
phyzix5761
 
Posts: 261
Joined: Sun Feb 27, 2011 4:28 am
Score: 18 Give a positive score

Re: ChangeParent error

Postby skydereign » Wed May 02, 2012 4:13 pm

So you are saying ChangeParent can't unparent things? gE uses "(none)" for the unparenting (though you should be able to change it to any name that isn't a real actor). When it comes to these problems I'd suggest making a new ged and just test out the function. If you can still make the problem occur in the new ged, post that and we can see what's going wrong. Otherwise it is something in your setup that you aren't remembering.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest