CreateActor()
Posted: Tue Aug 31, 2004 12:46 am
hi,
I have the suspect that runtime clone actor (CreateActor()) give the same name to all actors created.
http://www.ffx.it/GE/puzzle.zip
Here you can DL a little test.
I used getactor() function in order to test if twin actors stay one over the other and, in that case, destroy him, but, as you can see, getactor() get everytime the same clonename (palla.0), so actors will be destroyed in the order which they are created.
Have tried with off-line created clones and getactor() worked fine.
Is it possible or it's my fault?
bye
I have the suspect that runtime clone actor (CreateActor()) give the same name to all actors created.
http://www.ffx.it/GE/puzzle.zip
Here you can DL a little test.
I used getactor() function in order to test if twin actors stay one over the other and, in that case, destroy him, but, as you can see, getactor() get everytime the same clonename (palla.0), so actors will be destroyed in the order which they are created.
Have tried with off-line created clones and getactor() worked fine.
Is it possible or it's my fault?
bye