MMOMinion

Full Version: Quest mode and ground targeting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm finally starting to get the hang of making my own quests but now i'm stumped on main story quest 1183 "Crate go kaboom".
[Image: 2r6p0jt.jpg]
Is it possible for the bot to use ground targeting to destroy the crates. the crates are non-clickable and I'm not sure if I'm wasting my time trying to get the bot to do something it can't do atm.
Yes, the bot can do it. Here's an example from that quest you are doing.

itemid is obviously the id of the bomb. You can find this in devmonitor. ["pos"] is the position where you stand when you use the item and ["usepos"] is where the reticle gets placed.

Code:
[2] = {
                    ["itemid"] = 2001079;
                    ["itemreward"] = false;
                    ["mapid"] = 156;
                    ["meshname"] = "Mor Dhona";
                    ["pos"] = {
                        ["x"] = -468.94815063477;
                        ["y"] = -3.9981083869934;
                        ["z"] = -252.04335021973;
                    };
                    ["type"] = "useitem";
                    ["usepos"] = {
                        ["x"] = -469.13143920898;
                        ["y"] = -3.9999837875366;
                        ["z"] = -256.74459838867;
                    };
                };
Thanks for the quick reply Latty. I'll try this out tonight after work.