Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: entity image sizeX and sizeY  (Read 8811 times)

0 Members and 1 Guest are viewing this topic.

VEn0m

  • 85 lvl elf
  • Lurker
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 30
  • Live & Learn, Блеать!
    • View Profile
entity image sizeX and sizeY
« on: August 24, 2012, 05:06:52 PM »

Hello!!! I know there is no way to get size of entity image. So.. my question is next : is that posible to get image size by editing  GetBoundingRect and adding it to entity?  ::slug
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: entity image sizeX and sizeY
« Reply #1 on: August 24, 2012, 06:37:50 PM »

You can only get the height of an entity, like entity.Height.
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: entity image sizeX and sizeY
« Reply #2 on: August 24, 2012, 06:50:52 PM »

Sorry I did not see that this question is in the sources discussion :) But it should be a question to Mnemonic, since it should not be a problem to add a .Width , since .Height already exists ;)
Logged

VEn0m

  • 85 lvl elf
  • Lurker
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 30
  • Live & Learn, Блеать!
    • View Profile
Re: entity image sizeX and sizeY
« Reply #3 on: August 24, 2012, 07:09:22 PM »

Problem with .Height is that its work only with region. On image it returns a 0. Or maybe i just use it wrong :)
Logged
 

Page created in 0.02 seconds with 25 queries.