Prey
Passive creature who eats plants and flees from Hostiles.
Last updated
Passive creature who eats plants and flees from Hostiles.
Last updated
Copyright © 2012- 2023 The Sandbox. All Rights Reserved.
This behaviour has not yet been migrated for use in multiplayer Experiences.
Walk within a defined zone
Eat specific assets within its range
The eating frequency can be changed within its parameters
Once it detects a predator, it tries to escape by increasing its speed and running away from the predator
Once an asset gets eaten, it goes for another one if its hunger hasn’t reached its maximum
Peaceful creature that doesn’t attack any targets
A creature that flees from Predators and seeks a food source, which will stop seeking food when hunger parameters are met
Removing Objects from an Experience at a more consistent rate than the Farmer Behaviour's random and continuous "harvesting"
Inputs:
| Outputs:
|
Options | Details |
---|---|
Food Tag - Tags that the Object will look for to eat. You may add more than one tag or remove unwanted tags. Tags to Flee - Tags that the Object will flee from if the tags enter their Enemy Detection Range. | |
Food Value - Determines the amount of hunger your Object earns from eating a target. Max Hunger - The maximum hunger value that can be reached by the Object. When the Prey is hungry, it will look for Food Tags. Hunger Decrease Rate - How much hunger your Object loses automatically per second. Eating Duration - The time, in seconds, that it takes for the Object to eat a target. Hunger Threshold - Determines at which hunger level your Object must be to look for Food Tags. |
Walk Speed (slider) - Determines the amount of blocks travelled per second by your Object when walking. This parameter's max value is determined by the ASSET's Speed stat. Flee Speed (slider) - Determines the amount of blocks travelled per second by your Object when fleeing. This parameter's max value is determined by the ASSET's Speed stat.
Enemy Detection Range (slider) - Defines the area in which the Object will detect Tags to Flee. This parameter is visualised with a yellow circle Gizmo that adjusts as you move the slider or change the value. This parameter's max value is determined by the ASSET's Defense stat. Food Detection Range (slider) - Defines the area in which the Object will detect Food Tags. This parameter is visualised with a green circle Gizmo that adjusts as you move the slider or change the value. This parameter's max value is determined by the ASSET's Luck stat.