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: Coloring a region  (Read 2289 times)

0 Members and 1 Guest are viewing this topic.

FogGobbler

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 228
    • View Profile
Coloring a region
« on: August 12, 2007, 02:25:31 PM »

Hi!

Is there a way of coloring a region entity? I´d like to color a region, if the mouse is hovering over it.

I tried this, but nothing happend.

Code: [Select]
on "MouseEntry"
{ this.AlphaColor = MakeRGBA(120, 225, 155, 255);
}
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Coloring a region
« Reply #1 on: August 12, 2007, 02:44:50 PM »

No, you can't do that. The region entities are invisible by themselves. You'd need to use a semi-transparent image and show/hide it when needed.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

FogGobbler

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 228
    • View Profile
Re: Coloring a region
« Reply #2 on: August 12, 2007, 03:01:56 PM »

Okay,
thanks!
Logged
 

Page created in 0.032 seconds with 18 queries.