Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Altsaxofon on April 08, 2006, 11:38:00 PM

Title: Sacalable Inventory Items
Post by: Altsaxofon on April 08, 2006, 11:38:00 PM
I noticed in the documentation that the inventory items had the scalable and scale propertie.
Is it possible to scale an Inventory item (i diddn't manage) and if they are, how do you
scale them? 

This is what I tried:
Code: [Select]
this.Scalable=true;
this.Scale=50;
Title: Re: Sacalable Inventory Items
Post by: odnorf on April 09, 2006, 12:22:49 AM
I haven't tried this for a loooong time but I think that
Code: [Select]
this.Scale(50); should work.
Title: Re: Sacalable Inventory Items
Post by: Mnemonic on April 10, 2006, 11:11:40 AM
Inventory items don't support scaling. Even though they inherit the .Scale and .Scalable attributes, setting these doesn't have any effect.
Just out of curiosity, what do you need items scaling for?
Title: Re: Sacalable Inventory Items
Post by: Altsaxofon on April 13, 2006, 04:44:22 PM
Oh, I see.

I'm trying to learn scripting and thought it would be a nice idea to replicate a another point and click interface. I tried to  make something similar to the Broken Sword II inventory, and thought that scaling would be an easy way out ;)