i am making an addon for pmobs. there are some enemy guard and archer, who can fight against your troops. i am making a commander for my warriors. there are the same commands, as a normal guard, archer or healer. but, if i give a command, all the troops who belong to that commander, will do that what i said (clicked) . and i need to know that how to spawn troops, so the commander can be the “baaracks” (he will train troops)… -in hungary the “barack” word mean “peach”- … anyways, so if you know how, please paste it from a lua, or just tell me
i have cheked the api.lua, the spawner from mobs mod, and wiki of course. i need more information
have a great day!