For each enemy one fov (Field of view) , so when enemy dies,fov ---> destroy.But it's deleting all of them.
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.
Develop games in your browser. Powerful, performant & highly capable.
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
Thanks,it's actually a little bit easier than i thought