x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to set up a priority list for a targeting system

Hello,

I've been working on a targeting system (3d LoZ style) and I am trying to work on a system which prioritises some targets over others. FYI, right now, all characters, including the player, are children of a base character blueprint class and they all have the ability to target. For the player, the priority list needs to go through a few questions (in order of priority) before they can target onto an object:

  1. what is targeting the player right now?

  2. what is an enemy (which is a specific actor)?

  3. what is the closest to the player?

With these queries, a priority list of actors is created with the first being what the player will target first, then the next one can be targeted instead by pressing a button.

I already have a targeting macro that can be executed afterwards, I'm just a little stumped on how to set this system up in blueprint. Any ideas? Would I have to use a behaviour tree?

Product Version: UE 4.11
Tags:
more ▼

asked Apr 08 '16 at 01:01 PM in Blueprint Scripting

avatar image

1_Lolon_2
12 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question