Modding:AI Task jealousmeleeattack: Difference between revisions
From Vintage Story Wiki
(Created page with "This does the same thing as meleeattack with one exception. The task only does something if the guarded entity exists (guarded player is logged in) and the guard also has the stayclosetoguardedentity task. == Properties == All properties are inherited from meleeattack. So see the list of properties there. {{Navbox/co...") |
No edit summary |
||
Line 1: | Line 1: | ||
This does the same thing as [[Modding:AI_Task_meleeattack|meleeattack]] with one exception. The task only does something if the [[Modding:Entity_Attribute_guardedPlayerUid|guarded entity]] exists (guarded player is logged in) and the guard also has the [[Modding:AI_Task_stayclosetoguardedentity|stayclosetoguardedentity]] task. | This does the same thing as [[Modding:AI_Task_meleeattack|meleeattack]] with one exception. The task (running on the guard entity) only does something if the [[Modding:Entity_Attribute_guardedPlayerUid|guarded entity]] exists (guarded player is logged in) and the guard entity also has the [[Modding:AI_Task_stayclosetoguardedentity|stayclosetoguardedentity]] task. | ||
== Properties == | == Properties == |
Revision as of 03:22, 20 October 2024
This does the same thing as meleeattack with one exception. The task (running on the guard entity) only does something if the guarded entity exists (guarded player is logged in) and the guard entity also has the stayclosetoguardedentity task.
Properties
All properties are inherited from meleeattack. So see the list of properties there.
Content Modding | |||||||||
---|---|---|---|---|---|---|---|---|---|
Basics | Content Mods • Developing a Content Mod • Packaging & Release | ||||||||
Tutorials |
|
||||||||
Concepts | Modding Concepts • Modinfo • Variants • Domains • Patching • Remapping • World Properties | ||||||||
Moddable Assets |
|
||||||||
Uncategorized |
|
Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.
Modding | |
---|---|
Modding Introduction | Getting Started • Theme Pack |
Content Modding | Content Mods • Developing a Content Mod • Basic Tutorials • Intermediate Tutorials • Advanced Tutorials • Content Mod Concepts |
Code Modding | Code Mods • Setting up your Development Environment |
Property Overview | Item • Entity • Entity Behaviors • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • Collectible Behaviors • World properties |
Workflows & Infrastructure | Modding Efficiency Tips • Mod-engine compatibility • Mod Extensibility • VS Engine |
Additional Resources | Community Resources • Modding API Updates • Programming Languages • List of server commands • List of client commands • Client startup parameters • Server startup parameters Example Mods • API Docs • GitHub Repository |