QV Guide

From AgeofWiki

A Guide by DWIEEB on the conditions and effects using Quest Vars. Submitted 8-11-05


Q-What is a QV?

A-QV stands for Quest Var, or Quest Variable. QV's in an RPG, keep track of hunger, stamina, money, and many other useful values in RPGs. If you've ever done programming, you'll find that variables (numbers) are extremely useful. QV's are the computer's way of keeping track of numbers.


QV set is how you insert or set a QV. Let's say we want to make a QV with value of 0. Use QV set to make "QV1"'s value = 0. QV set also "sets a variable" If you have already made a QV, and you want it to be a different value no matter the value it's at now, use QV set to edit the value to the exact value you want the variable to be.


Use QV modify to raise or lower "QV1"'s value. Use QV modify = +10 set with "QV1" QV set made the QV=0. Now another trigger with QV modify as it's effect alters "QV1"'s value + 10. So "QV1" now equals ......... 10. Those two are the main QV's you need to know. I believe reyk made some triggers...one of them including QV in message. This is also very useful. It displays the current value of a QV in the messages you see in a scenario. QV modify 2 is another useful effect that adds or subtracts the value of one QV to another QV.


QV randomize is somewhat different from the other QVs (listed above) It randomizes a value between two variables that you choose. Your conditions determine when it randomizes again. For example...if you set timer=10 and set the trigger as a loop, then it randomizes the QV every 10 seconds.


QV check is a QV condition that is fired when a QV = the set value typed in the condition. When a varible's value = the set value in the condition (or > or <, depending on the operator) it then fires the effect. You make up the effect. In Reign of Agbar I had a QV randomized (values = 1 to 3) every 10 seconds or so, then three triggers with QV check as the condition (trigger one's set value was 1, trigger two was 2 and 3 was 3). These have timer = 70 and they're looped. The effects of these triggers were different though. one deployed a small army, two deployed a medium army, and 3 deployed a huge army. Every 70 seconds an army was deployed, but the size of the army was determined by the randomized varible.


Aside from the ones listed above, there are many other Quest Var triggers, especially if you download reyk's new triggers. This guide covers the basics, allowing you to explore the others on your own. Enjoy your new knowledge of Quest Variables.


For additional questions or comments, contact DWIEEB at aomdwieeb@yahoo.com