I had the idea of adding some placeables around the world, some trees to be exact. PC can interact with them, and if certain actions are performed, a creature boss is spawned and he needs to kill it. My problems Are:
1: This has a sandbox feeling behind it. I cannot know which tree will be first used.
2: How to update the journal, to something like "1st,2nd,3rd tree has been found".
3: And how to make it so that, when and if all are found, the PC is teleported to a special place where he learns about the trees and why they were there.
My scripting is so basic, that all I can think is setting an integrer when a boss dies, adding to it when the next one does and when and if it reaches a point, the teleport action takes place.
This might work, but I heard setting variables on death is unstable.
The one that confuses me more, is the journal. I did it before, and I know it works, that the journal can be updated when a creatue dies. However, I'd like it in this instance to be continuous, and I have no clue how to do it.
What I mean: Let's say you kill the first one, your journal says : First one killed.
Let's say after that you kill the second one, your journal says: First one and second killed.
Now the tricky part: If you skip the third, and kill the fourth, how can the journal say: You killed the first, second and fourth?
I hope I make sense.
If I cannot make this work, I have an alternative. I can make the script with the variables, and depending on which number we reached, update the next entry to something like 2/6 killed. Something similar to Tchos' collection quests.
In any case, it's late and maybe I don't think so clear. If anyone can help on this I'd appreciate it





Retour en haut






