> >  I think you will find that this is because the reference to the model
> >itself doesn't exist ie you can't use a deleted object to check if that
same
> >deleted object exists or not what you can say is
> >
> >i think this could work
> >
> >if  w.model("targetStand01") = not(void) then
> >w.model("targetStand01").rotate(0,0,2)
> >end if

i tried this piece of code but now the targets don't rotate.

>
> Your void idea will probably take care of the problem he has, but it
> would end up rotating models that are currently removed from the
> world. There must be another problem that he's having for the model
> to seem to not exist, when it existed moments ago when the
> removefromworld worked ok.

Sorry guys i forgot to mention that the models are being removed when the
bullet hits them.

If it helps the game is using the code by Allen Partridge that is posted in
an article on the Director Online web site.  i am just trying to take it a
little further.

But thanks for the help so far i do appreciate it
Colin
[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