Targets Config
Brief explanation of how to configure the targets section
Step 1 - Changing The Targets
By default the asset comes with an overview map with a playable demo character and a moving test target, however you may already want to integrate the turret into your own project, to update the targets the turret should fire at we need to change a few things in the "Targets" config you can see in the below picture.
Expand "Targets".

Base Class
The turret will check for any overlapping actors that are derived from the base class, in this case the default is set to pawn, it will then target anything that is derived from the pawn class unless a whitelist or blacklist is enabled.
Actor Whitelist / Use Whitelist
An array of actors, add actors to this array to filter them separately from the base class, useful if you want to add a blueprint derived from the Actor class but don't want to target all actors.
Actor Blacklist / Use Blacklist
An array of actors, add actors to this array to blacklist actors, these will not be targeted by the turret, useful if you want to exclude only specific actors.
Example Targets Config
What happens now, the overlapping actors first get filtered with the whitelist array, if an actor from the whitelist is also blacklisted, that actor is then removed from the final array of targets. Useful if you want to whitelist a Parent Blueprint Actor but want to blacklist a specific Child Blueprint of that parent.

Every character is now whitelisted, but the Demo Character is blacklisted, this turret will now target all characters but not the Demo Character included in the asset.
This concludes the Targets Config.
Last updated