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"

Making GameplayTasks in Blueprint

Hi!

I'm trying to make a Blueprint based Gameplaytask to run some logic, but I can't seem to derive from this directly. Even after converting the project into C++ and adding GameplayTask as a module I don't see it. Looking at the code it's not defined as "Blueprintable" (only as BlueprintType) so I wonder if there is any such support for Blueprint Gameplaytasks?

My fall-back is to roll my own Gameplaytask_BlueprintBase for this.

Cheers!

Tom

Product Version: UE 4.18
Tags:
more ▼

asked Jan 16 '18 at 12:20 AM in Blueprint Scripting

avatar image

Tom Looman
444 34 87 55

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi Tom! Haven't I seen you somewhere? ;)

You're way better at this stuff than I am, so it may be hubris to think I'd be of any help. Still, it can't hurt so I poked around in the source a little. It looks like everything task related is implemented in C++. A comment in AbilityTask.h mentions a "K2Node_" function. It looks like that's how they interface to blueprints.

The K2 stuff is all magic to me, so yeah, a C++ blueprint-base is how I'd go.

more ▼

answered Jan 16 '18 at 01:06 AM

avatar image

Jin_VE
4.3k 31 77 40

avatar image Tom Looman Jan 16 '18 at 09:00 PM

It does indeed look like it has no BP support by default, I'll look more into the AbilityTasks although that looks to be 'ability system' only, but I'll look more into that direction. Thanks for taking the time to look into it!

  • Tom

(comments are locked)
10|2000 characters needed characters left
Your answer
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