I got the following problem:
I have 1 Object "Bat", the Bat is Created Random every 1 - 5 seconds and moves left toward my player,
My player shoots the bats with shuriken and destroys them.
What i want to do: When you shoot a bat, theres a random chance this bat Drops an item, but how do i do that? Thought about using UID's but then i would have to know which bat got hit..
Tried the following: "Shuriken on Collision with Bat"-> "Bat Spawn another Object Item on Bat.X Bat.Y" "Bat.Destroy, Shuriken.Destroy" but that doesnt work :/ it creates the Item somewhere in the screen, but not at the position of the bat..
p.s.: its important that the bat drops the item and not the shuriken, because i got particle weapons as well, which would look strange
edit: tried with pick nearest bat from shuriken, but same problem like above: creating item somewhere on the layout