Creating a float variable named lifespan in an Actor Blueprint and setting a default value for it will override the parent class' life span setting. I was unable to find any variable in the Actor class named lifespan, but there is a variable named InitialLifeSpan that stores the default life span for the Actor.
Either the Blueprint should not allow a variable to be named lifespan, or that variable should not override the parent's life span value.
RESULT:
The Blueprint will print to the screen a countdown from 5.0 to 0.0, when the Blueprint will be deleted from the level.
EXPECTED:
The Blueprint will print to the screen a continuous series of 0.0 values and will not be deleted from the level after 5 seconds. Alternatively, the Blueprint will not allow a variable to be named lifespan.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.12.5, 4.14.1, 4.15 |
Target Fix | 4.26 |
Created | Dec 19, 2016 |
---|---|
Resolved | Apr 22, 2020 |
Updated | Nov 3, 2020 |