Put simply what is the best way (and by best, I probably mean "simplest" way...) to spark a cutscene at the end of a battle?
In a certain exterior area I have a hidden dungeon entrance. Before the party reach it, they are assaulted by an encounter that is sprung as they get closer. The encounter consists of a set number of undead, (about 8 zombies if I recall correctly). Once they are dispatched the party have the option to enter the dungeon, but at least one companion will want to stop this, as it will be a risky distraction from the main quest. It will lead to a multi NPC convo where the player can gain or lose influence/respect with companions based on their decision.
Essentially, what i want is for the last zombie to die, and the camera to track to the dungeon door, then cut to "Caleb" who says that it might be enticing, but let's leave it and come back later eh.. leading to the main part of the convo.
Would this work...
If I put a variable on the area, and copy the zombie blueprint adding an OnDeath script that advances the variable by one, and a heartbeat script on the area that fires when the variable hits a specific value equal to the number of zombies?
The heartbeat script would fire the convo.
What will happen to the zombies if I replace the generic ondeath script? And if I wanted to add the script to the current ondeath script, what things do I need to be aware of. For example, if I used Lilac Souls SG, what should I copy, and where should I paste... that sort of thing.
Or, of course, is there a really simple way to do this that I've completely missed?





Retour en haut







