
Gameplay Ability System Tips
Who Can Have Ability System Component (ASC) Any actor can have ability system component that includes things like chests, breakable boxes, turrets etc. It is recommended to create the base class in C++ because we need to implement the “ AbilitySystemInterface ”, it is not needed by it is recommended because with this interface you can use some static functions from Ability system library. Best Place to have ASC for Players For a simple single player game you can have your ASC attached to your player character and initialize with the owner and avatar with player character actor as well. The best actor that works for multiplayer is Player State . Player state exists on server but is replicated to clients as well unlike controllers which only exist on server, If your game is single player you can opt to have your ASC only on controller. For AI bots in multiplayer games all you need to do is set bWantsPlayerState of AI Controller to true. Player State is persistence across respawns so all
Continue reading on Dev.to
Opens in a new tab



