Author Topic: hiding nodes on bots  (Read 1738 times)

HOw would I hide nodes on the bots? Eg the head?

Look at the bot, and type /getid. Take the ID, and do this in console:
bot_id_here.hideNode("Head");
To clear all of the nodes (basically make the bot invisible)
clearAllPlayerNodes(bot_id_here);

Look at the bot, and type /getid. Take the ID, and do this in console:
bot_id_here.hideNode("Head");
To clear all of the nodes (basically make the bot invisible)
clearAllPlayerNodes(bot_id_here);
so I cant do it via events?  Dammit. That code wont make it permanent will it, it will just come back when I reload the save.

Amade's bots had this, but not the new default bots.

I can make it into an event if you would like that.

Amade's bots had this, but not the new default bots.
There are plenty of things the new bots still do not have that Amade's bots had.

I can make it into an event if you would like that.
Make it so any node can be hidden, not just the head.
But I am sure you were already planning that.

Make it so any node can be hidden, not just the head.
But I am sure you were already planning that.
This, and make the events have the actual/official node names.

I can make it into an event if you would like that.
yes pls

registerOutputEvent("AIPlayer","hideNode","string 20 100");

This will make the event "hideNode" appear in the events in the Bot section.

it would be nice if someone could make an event pack that added a ton more support for the bot system. like allowing other bricks to control bot spawns and stuff.