Can an Enum be used between blueprints?

For example, I made an Enum called “TPC Status”. Inside the enum there are two functions.

Up and Down

The idea here is to change if the TPC is knocked down or is up right.

  • In the third person character, I created a variable, set it to the TPC Status Enum. After event begin play I set it Up.

When knocked down or dead, I set it to down.

In the NPC bp, I created a variable, set it to the TPC Status enum.

Before the NPC punches, I get the variable, send to an == (enum) and branched it. Checked to see if Down was false… No effect…

I get the variable, feed it to a switch (on enum name) and chose to only go out of the Up pin…(So kind of like a branch)…no effect.

I wonder now if this may be an issue of fast fire (event tick) not setting that enum properly and perhaps needs a momentary or single pulse.

Why have have 2 vars:

  • one in the TPC
  • one in the NPC

Before the NPC punches

Query the TPC’s enum, that’s it. From the description it seems there’s no use for the enum in the NPC, is there?

fast fire (event tick) not setting that enum properly and perhaps needs a momentary or single pulse.

Should not be an issue unless done incorrectly; there’s probable is no need for Tick, though.

1 Like

You are right, I dunno, I was thinking about it (enum) wrong.

No , guess not. :disappointed_relieved:

I could always use a set timer by event set to loop and time set to .001…hahahahaha

And…IT WORKED!!! Everynone you are a genious!!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.