Author Topic: #istagged# in shape script  (Read 575 times)

qwerty

  • EA Guru
  • *****
  • Posts: 8952
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
#istagged# in shape script
« on: January 20, 2014, 12:08:29 am »
Does anybody know what this hash tag returns?

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2436
  • Karma: +29/-2
    • View Profile
Re: #istagged# in shape script
« Reply #1 on: January 20, 2014, 09:55:18 am »
Red triangles!

Code: [Select]
shape main
{
      if(hasproperty("istagged","true"))
      {
            setfillcolor(255,0,0);
            polygon(50,50,3,50,270);
      }
      else
      {
            drawnativeshape();
      }
}
The Sparx Team
support@sparxsystems.com

qwerty

  • EA Guru
  • *****
  • Posts: 8952
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: #istagged# in shape script
« Reply #2 on: January 20, 2014, 05:35:59 pm »
Strange encounters of the 3rd kind? I seemingly had forgotten about them :-) Looks like a useful feature.

Thanks,

q.