lingo-l detect sprites with a certain property

2004-07-02 Thread Lee Blinco
Hi is it possible to loop through all sprites in the score and detect whether each sprite has a certain custom property. If the sprite has any custom properties then i can use repeat with k = 1 to the lastChannel repeat with l = 1 to sprite(k).count() if sprite(k).getPropAt(l) =

Re: lingo-l detect sprites with a certain property

2004-07-02 Thread Christoffer Enedahl
Hi is it possible to loop through all sprites in the score and detect whether each sprite has a certain custom property. If the sprite has any custom properties then i can use repeat with k = 1 to the lastChannel repeat with l = 1 to sprite(k).count() if sprite(k).getPropAt(l) =

Re: lingo-l detect sprites with a certain property

2004-07-02 Thread Berndt Garbotz
hi, you could check for scriptinstancelist [] Berndt Hi is it possible to loop through all sprites in the score and detect whether each sprite has a certain custom property. If the sprite has any custom properties then i can use repeat with k = 1 to the lastChannel repeat with l = 1 to

Re: lingo-l detect sprites with a certain property

2004-07-02 Thread John Mathis
of each sprite. John - Original Message - From: Lee Blinco [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 02, 2004 5:04 AM Subject: lingo-l detect sprites with a certain property Hi is it possible to loop through all sprites in the score and detect whether each sprite has

Re: lingo-l detect sprites with a certain property

2004-07-02 Thread Robert Tweed
- Original Message - From: Christoffer Enedahl [EMAIL PROTECTED] but this fails when a sprite has no properties as it returns a handler not in object error. so is it poosible to test for whether a sprite has any custom properties at all or not. try: if not voidP(

Re: lingo-l detect sprites with a certain property

2004-07-02 Thread jscript
(#useBuiltInCursor) This would be much more efficient than testing each behavior instance of each sprite. John - Original Message - From: Lee Blinco [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 02, 2004 5:04 AM Subject: lingo-l detect sprites with a certain property Hi