|
Mechanic: RunAIGoalSelector
|
|
Mechanic: RunAIGoalSelector
|
|
===========================
|
|
===========================
|
|
|
|
|
|
|
|
**Aliases**: aigoal
|
|
|
|
|
|
Change pathfindergoals. It is not possible to use every goal on every
|
|
Change pathfindergoals. It is not possible to use every goal on every
|
|
entity. To change the ai of an entity, you need to use clear first.
|
|
entity. To change the ai of an entity, you need to use clear first.
|
|
After that you can use the runaigoalselector and add the goals you need.
|
|
After that you can use the runaigoalselector and add the goals you need.
|
... | @@ -10,41 +12,7 @@ dont use clear, the pathfindergoal is added to the end of the already |
... | @@ -10,41 +12,7 @@ dont use clear, the pathfindergoal is added to the end of the already |
|
existing goals of the entity.
|
|
existing goals of the entity.
|
|
|
|
|
|
A list of AI Goals can be found
|
|
A list of AI Goals can be found
|
|
[here](http://mythicmobs.net/manual/doku.php/databases/mobs/aigoals#creatures_only)
|
|
[here](/Mobs/Custom-AI)
|
|
|
|
|
|
Possible Pathfindergoals
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
- clear or reset (clear all goals of the entity)
|
|
|
|
- arrowattack
|
|
|
|
- skeletonbowattack / bowshoot / bowmaster
|
|
|
|
- breakdoor
|
|
|
|
- eatgrass
|
|
|
|
- fleegolems / runfromgolems
|
|
|
|
- fleeplayers / runfromplayers
|
|
|
|
- fleevillagers runfromvillagers
|
|
|
|
- fleesun
|
|
|
|
- float / swim
|
|
|
|
- gotolocation / goto (parse the specialchars!) Look here:
|
|
|
|
[Variables](/skills/stringvariables)
|
|
|
|
- gotoowner
|
|
|
|
- lookatplayers
|
|
|
|
- leapattarget
|
|
|
|
- meleeattack
|
|
|
|
- spiderattack
|
|
|
|
- moveindoors
|
|
|
|
- movethroughvillage
|
|
|
|
- movetowardsrestriction
|
|
|
|
- movetowardstarget
|
|
|
|
- opendoor
|
|
|
|
- opendoors
|
|
|
|
- patrol / patrolroute (parse the special chars!) Look here:
|
|
|
|
[Variables](/skills/stringvariables)
|
|
|
|
- randomlookaround / lookaround
|
|
|
|
- randomstroll
|
|
|
|
- restrictopendoor
|
|
|
|
- closedoors
|
|
|
|
- restrictsun
|
|
|
|
|
|
|
|
Example
|
|
Example
|
|
-------
|
|
-------
|
... | @@ -55,4 +23,4 @@ Skill.yml: |
... | @@ -55,4 +23,4 @@ Skill.yml: |
|
Skills:
|
|
Skills:
|
|
- runaigoalselector{goal=clear}
|
|
- runaigoalselector{goal=clear}
|
|
- runaigoalselector{goal=fleesun}
|
|
- runaigoalselector{goal=fleesun}
|
|
- runaigoalselector{goal=randomstroll} |
|
- runaigoalselector{goal=randomstroll} |
|
|
|
\ No newline at end of file |