Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Sacalable Inventory Items  (Read 2753 times)

0 Members and 1 Guest are viewing this topic.

Altsaxofon

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • View Profile
Sacalable Inventory Items
« 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;
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: Sacalable Inventory Items
« Reply #1 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.
« Last Edit: April 09, 2006, 12:24:26 AM by odnorf »
Logged
fl*p

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Sacalable Inventory Items
« Reply #2 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?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Altsaxofon

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • View Profile
Re: Sacalable Inventory Items
« Reply #3 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 ;)
Logged
 

Page created in 0.04 seconds with 20 queries.