Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: aRno on Mon 26/10/2009 18:06:15

Title: Change Object ID [solved]
Post by: aRno on Mon 26/10/2009 18:06:15
Hey,

I would need to change an objects ID given by the Program (the first object you add gets a 1, the second a 2, etc.)
The ID is also the Z-Index, and THIS I would like to change, because some objects should be behind others that were added earlier...
The Box is Read-Only, which I don't like...

Any idea how to do that?
???

Thans a lot guys...
Title: Re: Change Object ID
Post by: Gilbert on Mon 26/10/2009 18:13:40
No. You cannot change that. Also, that is not the Z index. Change the baselines of the objects to arrange their Z positions accordingly.
Title: Re: Change Object ID
Post by: Crimson Wizard on Mon 26/10/2009 18:15:31
That is: set BaselineOverriden property to true, then set Baseline property accordingly. "Z-top" objects should have lower baseline, as far as I know.
Title: Re: Change Object ID
Post by: aRno on Mon 26/10/2009 19:03:52
Mr. Gilbert, Mr. Wizard, thanks a lot, I did as you said and I'm happy with the result.
Thank you very much for your time.

Greets,
aRno