Started by
GODzilla manNEO
on
Topic category: Advanced modding
Currently, as the title suggests, I am trying to create a task that involves attacking mob AI and goal players with a macreator, which is more than a certain number of mobs, which will become hostile to the player if there are more than a certain number of them as the same mobs as me, but I just can't come up with a plan. If there are any experts please let me know.
make peaceful and hostile versions of your mob
make a procedure
count the number of mob A in the area
count the number of mob B in the area
if A > B and A > X
kill all peaceful A
spawn the same number of hostile A as there were peaceful A