Documentation
  • AnyRPG Introduction
  • Getting Started
    • Installing AnyRPG
      • Unity Asset Store Installation
      • Github Installation
      • Unity Package Installation
    • Included sample games
    • Creating your first game
    • Configuring your game
    • Adding Content To Your Game
  • Wizards
    • Wizards Introduction
    • New Game Wizard
    • New Scene Wizard
    • New Equipment Set Wizard
    • Animation Profile Wizard
    • Screenshot Wizard
    • Template Content Wizard
    • New Character Wizard
    • New Weapon Wizard
    • Minimap Wizard
    • Rename Wizard
  • Scriptable Objects
    • Scriptable Objects Introduction
    • Abilities
      • Animated Ability
      • Channeled Ability
      • Craft Ability
      • Direct Ability
      • Gather Ability
    • Ability Effects
      • AOE Effect
      • Attack Effect
      • Capture Pet Effect
      • Channeled Effect
      • Direct Effect
      • Heal Effect
      • Instant Effect
      • Knock Back Effect
      • Mount Effect
      • Pet Control Effect
      • Pet Effect
      • Projectile Effect
      • Rain Effect
      • Remove Effect
      • Resurrect Effect
      • Status Effect
      • Summon Effect
      • Taunt Effect
      • Teleport Effect
    • Achievement
    • Animated Action
    • Animation Profile
    • Armor Class
    • Attachment Profile
    • Audio Profile
    • Behavior Profile
    • Character Class
    • Character Race
    • Character Stat
    • Chat Commands
      • Action Command
      • Composite Command
      • Gain Currency Command
      • Gain Experience Command
      • Gain Item Command
      • Learn Ability Command
      • Load Scene Command
      • Set Level Command
    • Class Specialization
    • Combat Strategy
    • Credits Category
    • Currency
    • Currency Group
    • Cutscene
    • Dialog
    • Environment State Profile
    • Equipment Model Profile
    • Equipment Set
    • Equipment Slot Profile
    • Equipment Slot Type
    • Faction
    • Interactable Option Configurations
      • Bank Config
      • Behavior Config
      • Character Creator Config
      • Class Change Config
      • Crafting Node Config
      • Cutscene Config
      • Dialog Config
      • Faction Change Config
      • Gathering Node Config
      • Item Pickup Config
      • Load Scene Config
      • Lootable Character Config
      • Moveable Prefab Config
      • Music Player Config
      • Name Change Config
      • Patrol Config
      • Quest Giver Config
      • Skill Trainer Config
      • Specialization Change Config
      • Teleport Config
      • Unit Spawn Controller Config
      • Vendor Config
    • Items
      • Action Effect Item
      • Armor
      • Bag
      • Currency Item
      • Equipment
      • Food
      • Power Resource Potion
      • Quest Start Item
      • Recipe Item
      • Weapon
    • Item Quality
    • Loot Table
    • Material Profile
    • Patrol Profile
    • Power Resource
    • Prefab Profile
    • Quest
    • Quest Giver Profile
    • Recipe
    • Resource Description
    • Scene Node
    • Scriptable Content Template
    • Skill
    • Status Effect Group
    • Status Effect Type
    • Swappable Mesh Model Profile
    • UMA Model Profile
    • Unit Prefab Profile
    • Unit Profile
    • Unit Toughness
    • Unit Type
    • Vendor Collection
    • Voice Profile
    • Weather Profile
    • Weapon Skill
  • MONOBEHAVIOURS
    • Monobehaviours Introduction
    • Scene Config
    • Channeled Object Script
    • Channeled Cylinder Script
    • Edible Object
    • Projectile Script
    • Cutscene Camera Controller
    • Playable Director Controller
    • Spawnable
    • Interactable
    • Interactable Options
      • Animated Object
      • Bank
      • Behavior Interactable
      • Character Creator Interactable
      • Class Change Interactable
      • Click Switch
      • Crafting Node
      • Cut Scene Interactable
      • Dialog Interactable
      • Faction Change Interactable
      • Gathering Node
      • Item Pickup
      • Load Scene Interactable
      • Lootable Character
      • Moveable Object
      • Moveable Prefab
      • Music Player
      • Name Change Interactable
      • Pressure Switch
      • Quest Giver
      • Skill Trainer
      • Specialization Change Interactable
      • Teleport Interactable
      • Unit Spawn Controller Interactable
      • Vendor
    • Environmental Effect Area
    • Movement Sound Area
    • Persistent Object
    • Respawn Area
    • Unit Spawn Node
    • Water Body
  • Architecture
    • Ability System
      • Abilities
      • Ability Effects
    • Project Settings
      • Layers
      • Tags
      • Physics Settings
  • Shared Properties
    • Capabilities
    • Environment Preview
    • Prerequisite Conditions
    • Stat Scaling Nodes
Powered by GitBook
On this page
  • Properties
  • Dependencies
  1. MONOBEHAVIOURS

Unit Spawn Node

A Unit Spawn Node is responsible for spawning character units in a scene.

Properties

Name
Description

Unit Profile Names

Dynamic Level

If true, the spawned characters will be the same level as the player, instead of the default level set in the Unit Level field.

Unit Level

The level the characters will be set to, if Dynamic Level is false.

Extra Levels

If Dynamic Level is true, the characters will have this many more levels than the player. This is used to guarantee some characters are always tougher than the player.

Default Toughness

Spawn Timer

Spawn Delay

An additional delay to add to the timer. meant to allow an offset for multiple spawners of the same type.

Despawn Delay

An extra delay from the time the Destroy GameObject call is made before it is actually destroyed.

Respawn Timer

A separate spawn timer for when mob despawns are detected to give players longer to move away being a mob attacks them again. -1 disables respawning of despawned units.

Respawn On

An enumeration of options that controls when respawns will happen. Despawn Respawns will happen when a character despawns. Loot Respawns will happen as soon as a character is looted. Death Respawns will happen immediately upon a character dying.

Max Units

The maximum number of simultaneous units that can be spawned. If this number is reached, additional spawns will be preented until the number of active characters falls below this number. Set to -1 to do infinite spawns.

Suppress Auto Spawn

Trigger Based

If true, ignore spawn timers and use trigger instead.

Trigger Limit

The number of times this object can be triggered. 0 is unlimited.

Spawn Density

In area mode, the number of mobs per square meter to spawn.

Point Based

If true, units will spawn at the pivot of the Unit Spawn Node.

Force Despawn Units

Prerequisite Conditions

Dependencies

  • If Trigger Based is set to true, then a Collider marked as a trigger is required on the same GameObject in order to detect when players enter the area.

PreviousRespawn AreaNextWater Body

Last updated 2 years ago

of characters that will be spawned.

The the spawned characters will be.

Spawn time for regular mob spawns, such as when are updated, or the spawner supports multiple units and they should not all spawn at once.

Set to true to allow for to use this node.

If true, and there are units spawned, and the are no longer met, despawn them.

that must be met for units to spawn.

Unit Profiles
Toughness
Prerequisites
Unit Spawn Control Panels
Prerequisite Conditions
Prerequisite Conditions