You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2019. It is now read-only.
I imagine it is interesting to create friendly creatures with whom the player can interact (NPCs).
I've been trying to do this with the spawning node, but ends up appearing like creatures 2 (a bad thing for a character's adventures).
The attraction node will keep the character walking around and avoiding spawning his own (since it is near a spawning node).
creatures.register_mob({ spawning = { attractant = { range = n } } })
In summary the objective is to keep the mob near a position.
The text was updated successfully, but these errors were encountered:
You can add a costum function in you MOB definition. https://github.com/BlockMen/cme/blob/master/API.txt#L174
There you can do whatever you want, it is executed additional by default. See the sheep as example to add costum on_step() function to definiton ;)
Anyway, it might be interesting to have this in, idk yet.
I imagine it is interesting to create friendly creatures with whom the player can interact (NPCs).
I've been trying to do this with the spawning node, but ends up appearing like creatures 2 (a bad thing for a character's adventures).
The attraction node will keep the character walking around and avoiding spawning his own (since it is near a spawning node).
creatures.register_mob({ spawning = { attractant = { range = n } } })
In summary the objective is to keep the mob near a position.
The text was updated successfully, but these errors were encountered: