HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Quest Variables

07-12-2002, 01:16 AM#1
Draco
Ok, when you have lots of quests in a map, optional and required, when a quest is completed the only choice is to complete the last quest created which might not be the right one. So obviously multiple quests need to use variables right? Can i get a clear answer on how to do this plz? such as creating and activting variables as quests and stuff. Thx.
07-12-2002, 01:37 AM#2
Guest
Y'know, I haven't really worked with quests yet, but I know about variables, so hopefully that will help you regardless. A variable itself is really nothing, you just store information into it so you can refer to it easily. So if you have a trigger that activates a quest, make an extra action called "Set variable", should be one of the very first few actions in the action list.

Once you set the variable to whatever you want, you can refer to it easily.
07-12-2002, 02:17 AM#3
Guest
first make a quest variable, then after you create the quest, do set quest variable = last created quest.
07-13-2002, 02:10 AM#4
Draco
It works!

ok here's what i did

EVENT

- Whatever

ACTION

- Quest: Create Quest named whatever

- Variable: Set Last created quest to variable (x)