Hi all, 

I am currently wondering whether in Director 3d I would be able to get
to and change color, one of three parts that make up a single grouped
chess
piece, so for example, I have a queen, which lets say has a top, middle
and bottom, + a small base plate which all the characters have. 

My question is can I, through code, get to, and change the color of the
Baseplate, this would be used if the click loc
is detected on the particular model, and in turn changing this piece.

-KEV-

this is what I am using so far!!

Property spritenum, porigin

On beginsprite me
  porigin = point(sprite(spritenum).left,sprite(spritenum).top)
end

On mousedown me
  finpoint = the clickloc - porigin
  modelhit = sprite(spritenum).camera.modelunderloc(finpoint)
  
  if modelhit <> void then
    hit(modelhit)
  else
    hit(false)
  end if
end

on hit whichmodel
  if not whichmodel then
    member("outbox").text = "No Hit"  
  else
    member("outbox").text = whichmodel.name && "Hit"    
  end if
end



[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