Skip to content
A basic setup for using GAS in PlayerState.
Branch: master
Clone or download
Latest commit cfd695f Jul 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Private Fixed typos Jul 8, 2019
Public Fixed typos Jul 8, 2019
GASTutorial.Build.cs Initial Commit Jul 6, 2019
README Update README Jul 8, 2019

README

Created by Narxim 7/6/19 with UE4 version 4.22.3

This is a basic set-up for GAS using PlayerState. I have kept the code minimal so it is easy to understand / expand.

What is has:

- Ability system component in PlayerState
- Health attribute
- Stamina attribute
- Ability bindings for 2 abilities
- Helper functions for use in BP
- Give Gameplay Ability function in BP
- Commented code

How to use:

Create / reparent your CharacterBP from "CharacterBase"
Create / reparent your PlayerStateBP from "PlayerStateBase"

Add abilities to your Character in the PlayerStateBP you created under "Ability 1" and "Ability 2".
KeyBind "Ability1" and "Ability2" in editor to activate your abilities.


Check out the Unreal Slackers Discord if you have any questions!

Note: Your PlayerState NetUpdateFrequency needs to be increased to avoid lag in a multiplayer environment. 
Setting it the same as the default settings for "Character" seems to work well in most cases.
You can’t perform that action at this time.