Wildlife Spawner Device
Used to customize the properties of NPCs spawned by this device. Changing properties will only affect newly spawned wildlife creatures.
Verse using statement |
using { /Fortnite.com/Devices } |
Inheritance Hierarchy
This class is derived from the following hierarchy, starting with creative_object:
| Name | Description |
|---|---|
creative_object |
Base class for creative devices and props. |
creative_device_base |
Base class for creative_device. |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
CanRide |
?logic |
If true, agents can ride the wildlife creature. |
CanTame |
?logic |
If true and the wildlife creature supports being tamed, agents can tame the NPC. |
Damage |
??float |
If a value is given, the Damage value of the wildlife creature is overridden. If an override is not specified, the default Damage of the wildlife creature is used. This value is clamped between 1.0 and 500.0. |
DamagedEvent |
listenable(payload) |
Signaled when wildlife is damaged. Source is the agent that damaged the wildlife. If the wildlife was damaged by a non-agent then false is returned. Target is the wildlife that was damaged. |
DamageToEnvironment |
??float |
If a value is given, the Damage value of the wildlife creature is overridden when damaging the environment. If an override is not specified, the default Damage of the wildlife creature is used. This value is clamped between 1.0 and 500.0. |
DamageToPlayer |
??float |
If a value is given, the Damage value of the wildlife creature is overridden when damaging players. If an override is not specified, the default Damage of the wildlife creature is used. This value is clamped between 1.0 and 500.0. |
DismountedEvent |
listenable(payload) |
Signaled when an agent dismounts wildlife. Source is the agent that dismounted the wildlife. Target is the wildlife that was dismounted. |
EliminatedEvent |
listenable(payload) |
Signaled when wildlife is eliminated. Source is the agent that eliminated the wildlife. If the wildlife was eliminated by a non-agent, or because the oldest wildlife was eliminated as Spawn function was called after spawn count was exceeded, then Source is 'false'. Target is the wildlife that was eliminated. |
EliminatingEvent |
listenable(payload) |
Signaled when a wildlife eliminates an agent. Source is the wildlife that eliminated the agent. Target is the agent that was eliminated. |
EnergyConsumptionAmount |
?int |
The amount of riding energy that is consumed when the ConsumeEnergy function is called. This value is clamped between 0 and 100. |
EnergyRestorationAmount |
?int |
The amount of riding energy that is restored when the RestoreEnergy function is called. This value is clamped between 0 and 100. |
ForceSpawnedEvent |
listenable(payload) |
Signaled when wildlife is force-spawned and causes the oldest wildlife to be eliminated. Sends the agent wildlife that was spawned. |
InitialEnergy |
?int |
The amount of riding energy the wildlife creature spawns with. This value is clamped between 0 and 100. |
Invincible |
?logic |
Whether the NPC can receive damage. |
MaxEnergy |
?int |
The maximum riding energy the wildlife creature spawns with. This value is clamped between 0 and 100. |
MaxHealth |
??float |
If a value is given, the MaxHealth value of the wildlife creature is overridden. If an override is not specified, the default Health of the wildlife creature is used. This value is clamped between 1.0 and 10000.0. |
PreventDismount |
?logic |
If true, agents cannot manually use the interact action to dismount from the wildlife creature. |
RiddenEvent |
listenable(payload) |
Signaled when an agent rides wildlife. Source is the agent that started riding the wildlife. Target is the wildlife that was ridden. |
SomethingIsEatenEvent |
listenable(payload) |
Signaled when wildlife eats a pickup such as a Shroom or Meat. Sends the wildlife that ate something. |
SpawnedEvent |
listenable(payload) |
Signaled when this device spawns wildlife. Sends the agent wildlife that was spawned. |
SpeedMultiplier |
?float |
If a value is given, the SpeedMultiplier value is applied to the default speed of the wildlife creature. If an override is not specified, the wildlife creature moves at its default speed. This value is clamped between 0.1 and 2.0. |
TamedEvent |
listenable(payload) |
Signaled when wildlife is tamed. Source is the agent that tamed the wildlife. Target is the wildlife that was tamed. |
TamedFollowDistance |
??float |
Distance in meters from the player who tamed it that the wildlife creature will try to stay within. If a value is given, the TamedFollowDistance value of the wildlife creature is overridden. If an override is not specified, the default TamedFollowDistance of the wildlife creature is used. This value is clamped between 2.0 and 30.0. |
UntamedEvent |
listenable(payload) |
Signaled when wildlife is untamed. Source is the agent that tamed the wildlife. Target is the wildlife that was untamed. |
WanderRange |
??float |
Distance in meters from its spawn position from which the wildlife creature will peacefully roam. If a value is given, the WanderRange value of the wildlife creature is overridden. If an override is not specified, the default WanderRange of the wildlife creature is used. This value is clamped between 10.0 and 100.0. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.