Closed tariteur closed 1 year ago
this will log your bullets
diepAPI.extensions.entityManager.load()
diepAPI.apis.game.on('frame', () =>{
const player = diepAPI.extensions.entityManager.getPlayer();
const bullets = diepAPI.extensions.entityManager.entities.filter(x => x.parent == player);
console.log(bullets)
});
ty
I tried with entitycolors but I was not successful entity.parent to me