Cuberite Forum
Invisible mobs - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Invisible mobs (/thread-1929.html)



Invisible mobs - falkseidl - 05-10-2015

I try to make a mob invisible, but don't find out how I can do this.
I've spawned the mob (it's a horse) at a specific location, but in the API docs I cannot find how to add invisibility or slowness to it.

Is it in the API, or can somebody help?

thanks in advance


RE: Invisible mobs - tonibm19 - 05-10-2015

You cannot make mobs invisible using the API, only players


RE: Invisible mobs - jan64 - 05-10-2015

I believe falkseidl is talking about entity effects, it should be easy to do using cPawn:AddEntityEffect.