Re: lingo-l lingo-lHow Can I tell?
At 18:23 -0700 04/23/2002, Mattie Wells \(E-mail\) wrote: How can tell if someone is currently in a field? And how do I tell when they have left that field? In what context? What do you mean by in a field, and what do you mean by left a field? -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l lingo-lHow Can I tell?
At 6:23 PM -0700 4/23/02, Mattie Wells \(E-mail\) wrote: Hello List, I think this is quit easy but, my brain is fried today :) How can tell if someone is currently in a field? If there is tall grass or wheat or other plant material all around. (Sorry, couldn't resist) And how do I tell when they have left that field? If there is no more tall grass or wheat or other plant material all around. (Dang, I did it again - somebody stop me!) OR In a behavior, add a line like: if ilk(sprite(spriteNum).member) = #field then Irv -- Lingo / Director / Shockwave development for all occasions. (Home-made Lingo cooked up fresh every day just for you.) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l lingo-lHow Can I tell?
or, from anywhere else, if sprite(the keyboardFocusSprite).member.type = #field then --bhakti, seething that irv made those jokes before he did Irv Kalb wrote: At 6:23 PM -0700 4/23/02, Mattie Wells \(E-mail\) wrote: Hello List, I think this is quit easy but, my brain is fried today :) How can tell if someone is currently in a field? If there is tall grass or wheat or other plant material all around. (Sorry, couldn't resist) And how do I tell when they have left that field? If there is no more tall grass or wheat or other plant material all around. (Dang, I did it again - somebody stop me!) OR In a behavior, add a line like: if ilk(sprite(spriteNum).member) = #field then Irv -- Lingo / Director / Shockwave development for all occasions. (Home-made Lingo cooked up fresh every day just for you.) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
RE: lingo-l lingo-lHow Can I tell?
if ilk(sprite(spriteNum).member) = #field then I think that ilk(sprite(spriteNum).member) will always evaluate to #member. What Irv was perhaps looking for was sprite(spriteNum).member.type which will return #field when attached to a field sprite. I also think that what was being asked will be served by monitoring for the keyBoardFocusSprite on prepare/enter/exitFrame. eg: on exitFrame me if the keyBoardFocusSprite = me.spriteNum then -- the field this behavior is attached to currently has focus end if end HTH, -Sean. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
RE: lingo-l lingo-lHow Can I tell?
At 12:27 PM +1200 4/24/02, Sean Wilson wrote: What Irv was perhaps looking for was sprite(spriteNum).member.type which will return #field when attached to a field sprite. Yes ... member.type I was just typing quickly so I could be the first one to do the field joke thing! Irv -- Lingo / Director / Shockwave development for all occasions. (Home-made Lingo cooked up fresh every day just for you.) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]