Can you explain this bit clearer please..

 

   where = getOne(listOfNames, whateeverYouWantToTestFor)

   if where > 0 then

     -- found it

   else

     -- not in the list

   end if

 

for instance if I make the list in my on beginsprite:

 

  listOfNames = list("cone01", "ROOKPLY1R", "ROOKPLY1L", "ROOKPLY2R",
"ROOKPLY2L")

 

and then I need to get this recognised in the other statement, something
like this:

 

On exitaction me, whichmodel

  if (whichmodel.name) <> listOfNames then

    scene.model(whichmodel.name).shader.emissive = rgb(0,0,0)

    cursor -1

  end if

 

can you correct me!

 

 

-KEV-

[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