|
Thread: Is it possible to refresh the quest? | |
|
vulcancolak
Famous Hero
|
posted October 25, 2020 03:26 PM |
|
|
Is it possible to refresh the quest?
Hello everyone. Is it possible to refresh completed quest? For example i am giving artifact, taking the gold. But i don't want to make it "completed" i want to make it repeateable.
|
|
radmutant69
Promising
Known Hero
|
posted October 25, 2020 04:22 PM |
|
|
Use a triggered event/script instead of the main sequence maybe? Here is a simple example but you can even set some variables (or other conditions) to turn it on and off at will.
|
|
Karmakeld
Responsible
Supreme Hero
|
posted October 25, 2020 05:41 PM |
|
|
Avoid using the Completed Script and Completion Question tabs. Instead make a triggered script with whatever conditions you want. If the conditions are met, you ask a question, will you exchange xx gold for this artifact, if yes take gold, give artifact, if no do nothing or display some text if you will. This way you can repeatly get the reward by revisting the quest hut.
____________
|
|
vulcancolak
Famous Hero
|
posted October 26, 2020 04:46 PM |
|
|
You two always nice and kind as i can see. Thank you for your interest. Yes it seems a good idea. I am gonna try this one today. Thank you to both of you.
|
|
vulcancolak
Famous Hero
|
posted October 27, 2020 06:08 AM |
|
|
Hello again. Yes it was a good idea and it is my script.
https://imgur.com/a/VTBYquC
But as i can see your quest checking gold only and gives an artifact.
I want to script like this because i am trying to create my own "item sell" system and started like this. Bring the item, get the gold. Now i am trying to do this as Karmakeld said.
Edit: Everything is fine. Thank you for your help guys.
|
|
iliveinabox05
Honorable
Famous Hero
|
posted October 27, 2020 04:41 PM |
|
|
So it sounds like what you're looking to create is a full shop where the player can sell his items at?
I've created a few of these types of scripts, and I generally start out with a display message like, "Welcome to my shop, blah blah, you can buy stuff or sell stuff"
Then ask a question:
Do you want to buy (yes) or sell (no)?
If they select no, then you can check for the artifacts and if the hero has the artifact, ask if they want to sell it. If yes, take the artifact and give the money. If no, do nothing and move onto the next artifact to check for.
Does it sound like that's what you're looking to do?
|
|
vulcancolak
Famous Hero
|
posted October 28, 2020 09:39 AM |
|
|
iliveinabox05 i have already solved thanks to the Karmakeld and radmutant69. And thank you for your help. Have a nice day.
|
|
Karmakeld
Responsible
Supreme Hero
|
posted October 29, 2020 10:55 PM |
|
|
We're all here to help eachother glad we succeeded.. the KarmaKeld..
____________
|
|
vulcancolak
Famous Hero
|
posted October 30, 2020 05:19 PM |
|
|
Karmakeld said: We're all here to help eachother glad we succeeded.. the KarmaKeld..
Maybe you know what i am looking for. I have a mod, playing with my friends and there are 2 things are "vital" for me.
1-) Change to attributes of items (you already helped me about increasing armor of the platemail if i remember correctly)
2-) Change the items of the markets. It would be AMAZING. I would like to add expensive and important items to towns shops.
I will be very happy if you can help me about that.
|
|
Karmakeld
Responsible
Supreme Hero
|
posted October 31, 2020 06:01 PM |
|
|
I wasn't the one. Perhaps Radmutant69 was the one who helped you out?
Anyway, both of your requests require changes ro the exe file which is hardcoded. It's likwly doable if you know where to find tje relevant code and what to change it to, but sadly that is beyond my knowledge.. can't help you there.
____________
|
|
|