I have object in game. I need when its destroyed game loads Main Menu.
Do I use LevelBlueprint
Or Objects blueprint And choose of this?
And in BP I need Load Level and What is If object destroyed?
I have object in game. I need when its destroyed game loads Main Menu.
Or Objects blueprint And choose of this?
And in BP I need Load Level and What is If object destroyed?
(post deleted by author)
Thanks. Trying. Can it be done like Destroy object> check if true>load level? 3 nodes are way easier)
If you wanna make it really simple, just open the level when the actor is destroyed
I think I Found. Its Event Graph. Event Destroyed. I need simple. Map I make is short and no sequences after or before.
Just the first, but does it work?
I am looking on how to add Object to it. Its Level Blueprint. I could find On destroyed in actors blueprint
Yes, you put this in the actor BP.
On Destroy and others Destroyings are available only in Level BP not in actors. What to do? How reference needed object? (Well)
I cant build project to test yet. Errors. Is this what it should be? Attached to the destoyable object.
In the BP of the object.
It will open the level when the object is destroyed.
You don’t need to build the project, you can just play it.
Rather than using ‘local level instance’, just use ‘open level’. I think it is working, but the code you have will load the level as well as what you already have…
Oh it finally works, End play > Open level. Thanks. Can say UE is good But needs normal tutorials. I couldt find this basic thing in google. To anyone who needs to end their first indi game. By one of the most common things destroy a goal. So u Add Blueprint (actor) to the object thats going to be destroyed and 2 nodes End Level > open Level.