Page 1 of 1
Access 'moogle' anywhere
Posted: Wed Oct 08, 2014 2:56 am
by Dragomair
Would it be possible for a command to be added that would have all of the functions a normal moogle has?
(Delivery box, all storage, change jobs, etc.)
Re: Access 'moogle' anywhere
Posted: Wed Oct 08, 2014 3:46 am
by kjLotus
hmm, see what the nomad moogle script does (nashmau, selbina, etc)
Re: Access 'moogle' anywhere
Posted: Wed Oct 08, 2014 9:07 am
by TeoTwawki
I've experimented with this before. There is some flagging in each zone (see zone settings sql table) that controls what is allowed, but calling the mog menu is 1 simple command. When called in area's it isn't supposed to be some features of it simply don't work (like job changes).
Code: Select all
function onTrigger(player)
player:sendMenu (1);
end;
That's all it takes to get the mog menu.
Re: Access 'moogle' anywhere
Posted: Wed Oct 08, 2014 9:04 pm
by Dragomair
forgottenandlost wrote:I've experimented with this before. There is some flagging in each zone (see zone settings sql table) that controls what is allowed, but calling the mog menu is 1 simple command. When called in area's it isn't supposed to be some features of it simply don't work (like job changes).
Code: Select all
function onTrigger(player)
player:sendMenu (1);
end;
That's all it takes to get the mog menu.
Thank you.
I hope some servers will add this now.
Re: Access 'moogle' anywhere
Posted: Thu Oct 09, 2014 12:18 am
by atom0s
Some zones have special moogles as well that have extended menus. However they are not invoked the same way, but instead use an event id to trigger the menu. Such as the Mog Garden Moogle that I half-coded a while back.
Re: Access 'moogle' anywhere
Posted: Fri Oct 23, 2015 3:45 pm
by kennxonline
how would one get into the Auction house this way?
Re: Access 'moogle' anywhere
Posted: Fri Oct 23, 2015 6:23 pm
by kjLotus
look at the code for sendMenu in lua_baseentity
Re: Access 'moogle' anywhere
Posted: Sat Jan 06, 2018 5:39 am
by kirionet
To make !mog
Code: Select all
----------------------------------------------------------------------------------------------
-- func: mog
-- desc: opens the mog house menu everywhere
----------------------------------------------------------------------------------------------
require("scripts/globals/moghouse");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/globals/settings");
cmdprops =
{
permission = 0,
parameters = ""
};
function onTrigger(player)
player:sendMenu(1);
end
To make !ah
Code: Select all
%
----------------------------------------------------------------------------------------------
-- func: ah
-- desc: opens the Auction House menu anywhere in the world
----------------------------------------------------------------------------------------------
cmdprops =
{
permission = 0,
parameters = ""
};
function onTrigger(player)
player:sendMenu(3);
end;
(this is a copy/paste of my scripts)