Hallo,
danke erst einmal für die Antwort, so funktioniert es.
Da ich das IG gemacht habe, bin ich so vorgegangen, wie es der Programmierer geschrieben hat
- Code: Select all
Duff (18.May.2005):
- Add : /mob Brain to set own brain of mob
- Add : RoundsBrain to make mob walk through path point.
- Add : /Path type <ePathType> to make path looping, reverse or fire once./path type to know epathtype
To make a mob walk through pathpoint just make a pathpoint and set the name to
internalID (object id in DB) of mob +"Rounds" (you can make the path loop with /path loop)
for example : spider with id spider001 make a path named "spider001 Rounds"
After you set the brain of mob with /mob brain command to RoundsBrain and
here we go you have a mob walking through path point.
Evtl. könntest du ja deinen namenspace und classnamen posten.
DOL.AI.Brain.RoundsBrain.cs:
- Code: Select all
namespace DOL.AI.Brain
{
/// <summary>
/// A brain that make npc walk on rounds with way point
/// </summary>
public class RoundsBrain : StandardMobBrain
mfg
Urza
PS: Weißt du zufälligerweise, wie man das auch permanent machen kann, so dass der NPC auch nach einem Server-Neustart automatisch wieder seinen "Brain-Typ" bekommt?