Page 1 of 1

Home sweet home 7 day and standard

Posted: Tue Apr 26, 2016 4:41 pm
by beanybabe
here is a function to use 7day or standard house I added a 1 sec delay before because is you were riding a mount it could interrupt the home sweet home.

Code: Select all

function housetoquest()
	player:target_NPC(houseMaidId) -- Housekeeper
	ChoiceOptionByName(getTEXT("HOUSE_MAID_LEAVE_HOUSE")) -- 'Leave the house'
	waitForLoadingScreen(40);
end
function questtohouse()
	yrest(1000)         --  added this to prevent interuption if you were riding a mount just before calling questtohouse.
	--inventory:useItem(202435) -- home sweet home standard    -- comment out one you are not using.
	inventory:useItem(208785) -- home sweet home 7 days
	yrest(5000)
	waitForLoadingScreen(40);
end
chr the treasure within.xml
here is a sample wp for a quest in chrysalia this does not gather the item.
(3.35 KiB) Downloaded 244 times
mt Black Rune Core.xml
this for one in meridian tundra this does not gather item
(3.35 KiB) Downloaded 219 times