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

Post Reply
ll8082
Posts: 14
Joined: Tue Feb 28, 2017 2:40 pm

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

Post by ll8082 » Wed Mar 08, 2017 5:08 pm

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();
Last edited by ll8082 on Thu Mar 09, 2017 3:01 am, edited 1 time in total.

User avatar
0x00
VIP
Posts: 105
Joined: Tue Jan 10, 2017 11:40 pm
Has thanked: 10 times
Been thanked: 23 times

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

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

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

ll8082
Posts: 14
Joined: Tue Feb 28, 2017 2:40 pm

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

Post by ll8082 » Thu Mar 09, 2017 2:08 am

ah thangk but this dialog is error! not have summon pet function no in dialog ?

ll8082
Posts: 14
Joined: Tue Feb 28, 2017 2:40 pm

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

Post by ll8082 » Thu Mar 09, 2017 3:16 am

i hava question, i see Aionscript .pdf , i find a lot funtion is read , what have different?

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

User avatar
nucular
Site Admin
Posts: 260
Joined: Sat Jan 07, 2017 9:08 pm
Has thanked: 27 times
Been thanked: 388 times

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

Post by nucular » Fri Mar 10, 2017 10:19 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest