Quest Tree
  • Quest Tree Documentation
  • 🕹️Quick Start
    • Installation
    • Start Editing
  • 🎓Tutorials
    • Videos
    • Example Scenes
  • 🧩Components
    • Core Defaults
      • Quest Tree Initializer
      • Quest Tree Sync
      • General Dialogue
      • Default Quest Provider
    • Default UI
      • Default Choice Button
      • Default Dialogue Window
      • Default Dialogue Window Triggerer
      • Default Input Handler
      • Default Item Slot
      • Default Memorable Message
      • Default Quest Foldout
      • Default Quest Foldout Item
      • Default Quest HUD
      • Default Quest HUD Item
      • Default Quest Message UI
      • Default Quest Window
      • NPC World Canvas Handler
    • World Triggers
      • World Dialogue Trigger
      • World Quest Completer
      • World Quest Failer
      • World Quest Receiver
      • World Requirement Trigger
  • ⚙️Systems
    • Quest Tree
      • Editor Window
      • Quest Types Editor
      • Settings
      • Character
      • Items
        • Item
    • Dialogue Tree
      • Editor Window
        • Nodes
          • Dialogue Node
          • Choices Node
          • Receive Node
          • Complete Node
          • Trigger Node
          • Boolean (If) Node
      • Settings
      • Quest Dialogue
      • General Dialogue
  • 📄Scripting
    • Quests
      • Getting Quests
        • Quest Find Settings
      • Working with Quests
        • Quest Types
        • Child Quests
        • Quest NPCs
        • Requirements
      • Managing Quest States
    • Dialogue
      • Default Dialogue Window
      • Getting Dialogue
      • Dialogue Graph
        • Working With the Graph
    • Initialization
    • Disconnect
    • Syncing
    • Events
    • Saving/Loading
    • Player Recognition
    • Choices
    • Items
      • Rewards
        • Managing Granted Rewards
    • Characters
    • Requirements Manager
  • 🛠️Support
    • Getting Help
  • 📚Changelogs
    • Latest Releases
  • ⭐Rate Me?
Powered by GitBook
On this page
  1. Components
  2. World Triggers

World Requirement Trigger

World requirement trigger component.

PreviousWorld Quest ReceiverNextQuest Tree

Last updated 10 months ago

The world requirement trigger component can change a requirement value at a certain time and place, depending on the trigger method.

Properties

Requirement Key: The key of the requirement.

Trigger Method: How or when it's triggered.

  1. On Collision Enter 2D or 3D: Triggered when the triggerer collides with a collider attached to this GameObject.

  2. On Collision Exit 2D or 3D: Triggered when the triggerer exits collision with a collider attached to this GameObject.

  3. On Awake: Triggered when the component's Awake method is called.

  4. On Start: Triggered when the component's Start method is called.

  5. On Disable: Triggered when the GameObject becomes inactive.

  6. On Enable: Triggered when the GameObject becomes active.

  7. On Destroy: Triggered when the GameObject is destroyed.

  8. Manually Call Trigger: There is no automatic trigger. The Trigger method must be called manually through code.

Triggerer: The GameObject that causes the trigger on collision.

Requirement Type: The requirement type. Supported types are Integer, Float, and Boolean.

Change Type: How the requirement value should be changed.

  1. Increment: Increase the value by a certain number.

  2. Decrement: Decrease the value by a certain number.

  3. Set Value: Set the value to a certain number.

Int Value: The integer value the requirement should change by/to.

Float Value: The float value the requirement should change by/to.

Bool Value: The Boolean value the requirement should change by/to.

Destroy Component On Trigger: If the component should be destroyed when triggered.

🧩