After the object disappears, the VS display text remains.

Problem Description:

I added a text display above the monster object to show the monster’s health. (I selected “permanent display.”)

In previous versions, this text display would automatically disappear when the monster disappeared.

In the current new version, this text display remains visible.

Problem Analysis:

I noticed that in VS Actions, the text display feature has been enhanced with new functions, such as ending display when a state changes, or ending display when a specific input occurs. (These options increase the flexibility of text display.)

Feature Suggestion: I suggest that, following this design approach, an option like “End display when object disappears” be added. This would allow the text display to automatically close when the monster object is destroyed. (Since the state in VS changes, it cannot be directly achieved using “End display when state changes.”)

Hello, were you using RemoveSelf action? It seems using that action causes the text to go away:

Thank you for your reply, Mr. BAZ. I will test it again. This issue occurred after updating to the new version; it didn’t happen before. I’ll investigate the cause further.

1 Like

Mr. BAZ, could you please take another look at this reproduction?

Text Display Test.rar (182.9 KB)

I’ve found the issue: when two objects both have the “Display Text” execution action, as long as one object exists, the text on the other object will not disappear when the “Self Disappear” action is triggered.

Reproduction steps: Download - Extract - Open - Run F5

(1) One object is generated and then automatically disappears.

(2) Another object is automatically generated and then disappears.

(3) Observe the text display status. (At this point, the text from the first object that disappeared remains.)

(4) You can try turning off either text in VS, and then the other text will regain the automatic disappearance function.

I understand now! The issue is if multiple DisplayText are going on from any objects, if one object removes itself, the DisplayText will not go away. If the object that is removing self is the only DisplayText happening at that time, it will go away.

I will report this as a bug, thank you again for the minimal project!

1 Like

We caught it, hahaha :wink:

1 Like