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

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • 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: 2919
  • Karma: +54/-3
    • 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
[email protected]

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • 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.