Hello. Is there a way to make the skeleton raise his bow up like he's shooting and aggressive? Is that a DATA_FLAG? Anyone ever got this ?
Hello, @Benberi . Welcome to the forums. I haven't seen anything like this in Pocketmine. Possibly someone else has?
Yes, figured it out. to show the bow: $this->setDataFlag(6, 0, true); turn bow back: $this->setDataFlag(6, 0, false);
It's in Entity. It sets a data flag for entity. I dont really know why is it flag 6, it's a mystery. You just find whatever u need by debugging