• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Help with npc script

tarantonio

Old School Player
Joined
Jun 21, 2009
Messages
868
Solutions
1
Reaction score
286
I'm trying to make a quest that involves to answer some random questions, that means that every player doing the quest should answer to different questions to solve the quest.

How can it be implemented?
 
can you explain it better? its a npc? maybe a world change with talk actions involved? I dont know how to answer
there is gonna be many people talking to the npc at the same time?
 
You could create a table with different questions and simply randomize it for your players. But of course there would be a limit depending on how many questions. You can also use parameters based on player info (level, voc, storage, town_id and etc.) to alter questions. But at some point the questions might turn out to be similar. You can also use numbers and math to generate different questions.
 
can you explain it better? its a npc? maybe a world change with talk actions involved? I dont know how to answer
there is gonna be many people talking to the npc at the same time?
Npc with x questions and a correct answer for every one, player needs to answer correctly randomized x questions to advance on quest.
 
Back
Top