don't know how you've defined the 3 vars,
but lets say before you drag that
you have
dragobjectlist =[0,0,0]
then when lets say object2 is draged
set dragobjectlist[2] = 1

then in your frame
check for avaibality, for example if object 2 is in box and users want object3
as wel
per objects, if dragobjectlist[1] = 0 and dragobjectlist[2] = 0 then
drag, else beep

or use a repeat loop to check the list to spare you typing, if a 1 is detected
other than the one you are trying to drag, just exit the loop or what ever

fabrice

Giulio Genti wrote:

> First off all many thanks for your help, I'll try to explain better the
> situation in order to let you understand the purpose. I think we'll find a
> solution!
> I got a box and three object, when I drag one of the object in this box(and
> set a value for the variable that the object use), the behaviour of the
> other object should be unavailable. The box should have only one object
> inside at the same time.
> Hope my English is enough to get your precious suggestion ;-)
> Bye
> Gg
>
> Giulio Genti wrote:
>
> > Hi guys,
> > just a simple question...
> > is there a command that freeze a behaviour until a condition is true? I
> > guess there is...
> > which is?
> > Many thanks in advance.
> > Gg
> >
> > [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!]

--
Zuidzijde reclamebureau
http://www.zuidzijde.nl


[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!]

Reply via email to