For each enemy one fov (Field of view) , so when enemy dies,fov ---> destroy.But it's deleting all of them.
Develop games in your browser. Powerful, performant & highly capable.
You need to use the pick command to tell it which one to destroy, or set an instance variable containing the UID of the object. You can then select by UID the one to destroy.
Yeah i tried with uid,I just don't really understand how to do that.Any example will be much appreciated
There's a problem,object are being created by system,how do i find out the uid? But i really have no idea
Ok i will make an example and post it here later.
You mean like this
Like this..
Thanks,it's actually a little bit easier than i thought