[b]Quest Log[/b]
*choice
#Find Butch Casey
A rogue Mexican gang leader by who goes by the name of [b]Butch Casey[/b] has escaped from the Old Durango prison. As a bounty hunter, you've been tasked with identifying Butch's location and bringing him
back to the law.
[b]BOUNTY: $5,000[/b]
*page_break
*goto qlog
*if (sherrif = true)#Meet The Sherrif
It's been heard that there's something that's been keeping the town Sherrif paranoid; it could be important and might give you the answers to a few questions you've been carrying.
*page_break
*goto qlog
[b]The Western Encyclopedia[/b]
*choice
#Armachillo
A town established in 1843 near the Southern border of Mexico by the late, great Sir John Williams. Although the town is mostly used as a pitting stop by travellers, many annual circuses
and such are also held here. [i](U0nder work)[/i]
*finish
So, Iâve been trying to implement a quest system in my game but it doesnât exactly work. The âifâ condition doesnât work when triggered and no further stats or choices can be seen in the stats screen, including the âWestern Encyclopediaâ. Could anyone please help me with this?
Iâm not entirely sure what youâre trying to do here⌠But, looking a it, thereâs no way for the code to flow to âThe Western Encyclopediaâ, as the flow is automatically directed to qlog (the start?) at the end of both of the first two options.
Using tabs instead of spaces because I find them easier.
Quest Log
*choice
#Find Butch Casey
A rogue Mexican gang leader by who goes by the name of [b]Butch Casey[/b] has escaped from the Old Durango prison. As a bounty hunter, you've been tasked with identifying Butch's location and bringing him back to the law.
BOUNTY: $5,000
*page_break
*goto qlog
*if (sherrif = true) #Meet The Sherrif
It's been heard that there's something that's been keeping the town Sherrif paranoid; it could be important and might give you the answers to a few questions you've been carrying.
*page_break
*goto qlog
[b]Quest Log[/b]
*choice
#Find Butch Casey
A rogue Mexican gang leader by who goes by the name of [b]Butch Casey[/b] has escaped from the Old Durango prison. As a bounty hunter, you've been tasked with identifying Butch's location and bringing him back to the law.
[b]BOUNTY: $5,000[/b]
*page_break
*goto qlog
*if (sherrif = true)#Meet The Sherrif
It's been heard that there's something that's been keeping the town Sherrif paranoid; it could be important and might give you the answers to a few questions you've been carrying.
*page_break
*goto qlog
[b]The Western Encyclopedia[/b]
*choice
#Armachillo
A town established in 1843 near the Southern border of Mexico by the late, great Sir John Williams. Although the town is mostly used as a pitting stop by travellers, many annual circuses and such are also held here. [i](U0nder work)[/i]
*finish
I used [4 spaces] as the indentation marks, but [Tabs] works.
Above result will present the player a list of Quest Log with 2 choices (if sheriff is true)
But are you sure itâs:
sherrif = true
and not these this?
sherrif = âtrueâ sherrif true
It is *if (sherrif = true), although *if sherrif is exactly the same. To set the value of sherrif to true, you would use *set sherrif true, though.
Also, to get to the âWestern Encyclopaediaâ you would need a *label encyc (or similar) the line before the title, and a choice that gives a *goto encyc at another point in the code (probably not in the quest log, though).