Penguin Action Toolkit
  • 🐧Welcome
  • Guide
    • Step-by-Step Guide
      • Step 1: Install PAT
      • Step 2: Tutorial Scene
      • Step 3: Character - Action States
      • Practice 0: Add an Input Tag
      • Step 4: Character - Tags
      • Practice 1: Combo
      • Step 5: State Modifiers
      • Practice 1.1 & Ex: Grant Tag Mod
      • Step 6: Animation Montage
      • Step 7: Trigger Animation Event
      • Practice 1.2: Back to Grant Tag Mod
      • Step 8: Animator
      • Step 9: Attributes
      • Practice 2: Cost HP
      • Step 10: Effects
        • Step 10.1: Hitbox & Hurtbox
  • Definition & Inspector Detail
    • Actions
      • Action State
      • State Modifier
      • Move Set
    • Tag
    • Attribute
    • Effect
    • Player
    • Input
    • Locomotion
  • Tutorial
    • Installation
    • Contents of the Assets
    • Character
      • Create a Character
    • Set Up Player
    • Create a new Tag
    • Create a new Modifier
    • Use Attributes
    • Effect
      • Create an Effect
      • Apply Effects
    • Animation
      • Animatior Controller
    • PAT Manager
  • Beneath the Feathers
    • The Other One
    • Help on the Way
    • Victim or the Crime
    • Unbroken Chain
  • PAT Game Jam
    • Save the Penguin
    • Schedule
    • Terms & Conditions
  • FAQ
    • Change to Your Own Model
Powered by GitBook
On this page
  • Goal
  • Attributes on Other Characters
  • Effect
Edit on GitHub
  1. Guide
  2. Step-by-Step Guide

Step 10: Effects

PreviousPractice 2: Cost HPNextStep 10.1: Hitbox & Hurtbox

Last updated 6 months ago

Goal

  • Understand how to modify Attributes on a different through effects.


Attributes on Other Characters

In , we talked how a character can modify its own Attribute by State Modifiers. That is within one character. How can we do the same thing to other characters? For example, how do I deal damage?

You might have already noticed there is a dummy capsule in the scene, and the health bar does respond to both your attacks.

Effect

In PAT, we are using Effect to modify attributes on other P Entities.

Effects are scriptable objects. You may find an example through Attack1. The Attack with Hitbox Mod is a State Modifier that sends a list of Effects through colliders.

If you click on to the Scriptable Object, you should see this:

To put this in a simple way, what matters here is the EffectModValue part.

You will find it working just like the Use Attribute Mod, also with a Resource Tag and a value. But there is a lot more about Effects. You can find details in the link below:

Effect
Step 9
Effect Mod Value