I have started a project and I have it a rather large snag. I need to to have several things happen (list bellow) I hope I can get help with this.
List:
- A number of random jobs get generated (This is the easy part)
- The player picks which jobs they want to do
- After they have picked the jobs they decide who they want to send on these jobs
I really hope someone can help me. It would to a million times easier with a script don't know of any.
I've moved this thread to vx ace support. Please be sure to post your threads in the correct forum next time. Thank you.
Define what 'job' means here. Is it tied to a switch? Job1, job2, job3 etc.? And exactly what is 'who' here as well? A party member? An NPC?
Try to give us as much information as possible, and TRY it yourself first and show us your event so we can help you out. Always try first before you ask for help.
What I am trying to do is I am trying to make it so you can send people on quests. A number of "jobs/quests" will be generated and the play will pick which ones they want to send people out on. Also I am trying to do this from a single book that the player has.
Example: I get the quests "Caravan Protection", "Rat Extermination" and "Bandit Hunting". Since I only have 3 people (npc) in my organisation I decide to only do one of them. So I pick bandit hunting. One I have picked that I select to send all but one to send on this job/quest.
The randomization of the quests was easy but I really have no idea where to begin for the quest selection and who to send out on it.
This is simple just simple show choices stuff.
First, use the show choices command to show the different jobs (I don't know how you're 'randomizing' these, but let's say you have 3 static ones right now), and then you turn on a switch for each job. So you'd turn on switch 'Bandit Hunting' or something. Make another show choices command, that lets you pick out your guys. Let's use a variable for this (so that each number corresponds to one NPC). Let's say you picked out John, then set the variable to 1, so you know that's John, and he's going on the 'bandit hunting' quest.
Now you have enough data to use conditional branches to achieve whatever you wanted to achieve with it (a switch to determine which quest it is, and a variable to determine who's going). Of course, this only goes for having one active one at a time, so you can't have multiple.