Page 1 of 1
THIS IS ANNOYING

Posted:
Wed Apr 09, 2008 10:14 pm
by PooAs
ok so i have a background that follows the view
so its parent is view
and i also have an ammo count
this also follows the view
so its parent is the view
at a certin prt of my game you have to walk past a building
i want the sky to go behind the building
but not the ammo count
how do i do this?
but still make both actors
move withthe view?
Re: THIS IS ANNOYING

Posted:
Wed Apr 09, 2008 10:27 pm
by Freddy
Next to the transparency level in the actor control pannel (or whatever its called) there is another level called z-depth. Change the z-depth to a low setting. This way it will be under the building actor.
Do this with the ammo count, except instead of lowering the z-depth, raise it.
Hope I helped.

Re: THIS IS ANNOYING

Posted:
Wed Apr 09, 2008 11:02 pm
by Game A Gogo
this would not work. Just use like x=view.x;
Re: THIS IS ANNOYING

Posted:
Wed Apr 09, 2008 11:07 pm
by Freddy
But cant you change the z-depth of a descendant actor?
Re: THIS IS ANNOYING

Posted:
Wed Apr 09, 2008 11:46 pm
by DilloDude
z-depth is always relative to the parent.
Re: THIS IS ANNOYING

Posted:
Fri Apr 11, 2008 12:34 am
by Freddy
Then do this:
unparent the actor momentarily, change the z-depth of the actor, and re-parent it.
Re: THIS IS ANNOYING

Posted:
Fri Apr 11, 2008 12:35 pm
by PooAs
none of that works
as soon as i change the parent
it automaticly gets the same z depth at the parent
HELLLP!!
Re: THIS IS ANNOYING

Posted:
Fri Apr 11, 2008 9:49 pm
by jimmynewguy
try this instea

Re: THIS IS ANNOYING

Posted:
Sat Apr 12, 2008 2:50 am
by PooAs
thanks heaps man

haha
jerrys pub
Re: THIS IS ANNOYING

Posted:
Sat Apr 12, 2008 1:46 pm
by jimmynewguy
no problem
