Originally Posted by ircdirk
Box starting X|Box starting Y|Box Width|Box Height <- now thats weird, starting X and Y are from wowhead but i dont get it why theres width and height?
Code:
[24432] = {
Quest = [[Sea Legs|1|81|80|25281|0]],
Start = "1994|610|32|45.16|23.34",
End = "1994|610|32|45.16|23.35",
Objectives = {
[1] = {
"nil|610|35|45.5|21.5|15.03|6.68",
"nil|610|35|45|22.5|20.04|3.34",
"nil|610|35|44.5|23|25.05|3.34",
"nil|610|35|43|23.5|40.08|3.34",
"nil|610|35|43|24|35.07|20.04",
"nil|610|35|43.5|27|25.05|3.34",
},
[2] = {
"nil|610|35|45|26.5|5.01|3.34",
},
},
},
Objective one has multiple boxes, but are they connected or what? From wowhead database we have only starting X, Y... Ill have to do the math for this...
Converting NPC real ids to Carb NPC array thats no problem, but later it would be better to make it Real ids.
|
Objectives are the area in which you can find what you need to finish the objective which is why it has length and width. When your looking at wowhead, say for
http://www.wowhead.com/quest=35933 and you see all those pins of locations people were able to get the objective done, the box(es) would try to reproduce that general shape in the same locations, one box would cover it, multiple boxes would allow making the same almost hour glass look. kinda like in this image
http://1.bp.blogspot.com/_p1LoepeMXS...Ns/s1600/1.JPG (in case people have forgotten what carbonite use to do when it had quest data :P) 3.34 is the calculated size of just 1 of those points on the wowhead map, so if it was a person or mob it's width and height would be 3.34, 3.34 ... making the objective area into a circle would use something like 10.02,3.34 (3 long, 1 high), 20.04, 6.68 (6 long, 2 high), 10.02,3.34