Page 1 of 1

i have a pet , how do summon it in script?

Posted: Wed Mar 08, 2017 5:08 pm
by ll8082
i have a pet , but when my char die go back , how do summon itin script? have this function? i look for dialog inspector , but not find . and i dont know how do use Dialog inspector.

i find : DialogList:GetDialog( "support_shortcut_dialog/skill_cond_1" )
so can use DialogList:GetDialog( "support_shortcut_dialog/skill_cond_1" ): Click();

Re: i have a pet , how do summon itin script?

Posted: Wed Mar 08, 2017 10:28 pm
by 0x00

Code: Select all

	while DialogList:GetDialog( "support_shortcut_dialog/skill_cond_1" ):IsVisible() do
		if PetBuff ~= 1 then
		DialogList:GetDialog( "support_shortcut_dialog/skill_cond_1" ):Click();
		PetBuff = 1;
		
		elseif PetBuff == 1 then
		PetBuff = 0;
		
		end
		end

Re: i have a pet , how do summon itin script?

Posted: Thu Mar 09, 2017 2:08 am
by ll8082
ah thangk but this dialog is error! not have summon pet function no in dialog ?

Re: i have a pet , how do summon it in script?

Posted: Thu Mar 09, 2017 3:16 am
by ll8082
i hava question, i see Aionscript .pdf , i find a lot funtion is read , what have different?

GetAddress ; SetLegion; Click; SetAttackRange; ...... not safe ?

Re: i have a pet , how do summon it in script?

Posted: Fri Mar 10, 2017 10:19 pm
by nucular
Just read the pdf from top to bottom ....
These classes include everything that is required to interact with game. Some of these depend on additional
classes, which can be found in the Miscellaneous Classes Reference. There are some additional notes about the
game classes and the way they have been listed in the following sections. All the methods are listed in either black
or red (where you should avoid using those in red, if you can), but public variables are shown in green! Methods in
blue are deprecated and cannot be used anymore. Parameters shown in purple are optional and are not required.