RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Making a certain type of quest

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 87
Im trying to make a quest where you have to get a person a certain amount of one item
from killing an enemy.
How do I make it so when I get the amount I need The quest will be finished and ready to turn in?
You think so?

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
I THINK that XP's conditional branches allows you to check for a quantity of items that a player has, if not, you can always track your amount using variables. Then make a conditional and IF variable:[whateveryourtracking] >= N, Then you complete the quest. ELSE, nothing happens or do whatever, but the quest is incomplete. N = How many you need of that item by the way.
« Last Edit: December 20, 2008, 01:25:54 AM by Prince Grafikal006 »

*****
Rep:
Level 85
I am the wood of my broom
2010 Project of the YearProject of the Month winner for January 2010Project of the Month winner for January 2009Project of the Month winner for April 2010
Well...
This is one of the basics of the basics,





\v[numberhere] shows the value of the specific variable. I'm not sure what XP has, I forgot, but you can check it depending on the script you use.
« Last Edit: December 20, 2008, 04:07:14 AM by Nessiah »


***
Rep:
Level 87
What about making a quest where you have to kill a certain amount of things
?
You think so?

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
In the battle event commands in the resource editor, you'll have to create a new enemy (or rather, duplicate one that you already have or something) and in it, at the end when you kill the enemy, make sure you include the event command Variable:[x] += 1. That means that everytime you kill that monster, 1 will be added to the cache in Variable X. Also, again, make sure your quest giver or receiver has the conditional branch making sure that it is checking that Variable:[x] >= n. N is how ever many of those enemies you need to kill.

***
Rep:
Level 87
Im using Blizz-abs
You think so?

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
then look in the script. almost all ABS have a command to add integers to some variable upon death.................................. And I'm pretty sure blizz is top notch and wouldn't forget that. Look again.

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
event code on an enemy event is processed upon enemy death.
meaning you can add a call to increase the variable by 1 or so on the enemy code.
then when you kill it your enemy deaths variable will increase by 1

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon