I have the function CheckForChest and just wondering, does it only look for Locked chest or does it look for any chest that can be opened? Writing a new script and had function but didnt locate chest within distance to me and just rezoned.
I have the function CheckForChest and just wondering, does it only look for Locked chest or does it look for any chest that can be opened? Writing a new script and had function but didnt locate chest within distance to me and just rezoned.
Thanks
You look for agents of type 0x200 (which are chests, signposts etc), and then match the extratype of the agent to the extratype of the chests you want. Locked chest has extratype 8141 if Im correct. Example for locked chest:
Code:
Local $lAgentArray = GetAgentArray(0x200)
For $i = 1 To $lAgentArray[0]
$lAgent = $lAgentArray[i]
If DllStructGetData($lAgent, "ExtraType") == 8141 Then
.... code here
EndIf
Next
WTS Guild Wars Gold,Guild Wars Ectos,Guild Wars Zaishen Keys for sale 02/19/2013 - Guild Wars Trading - 4 Replies Hi, i want to sell Guild Wars Gold,Guild Wars Ectos,Guild Wars Zaishen Keys.If someone is interested , you can email me and add my msn. We can talk details there. I will give u a low price of Guild Wars Gold,Guild Wars Ectos,Guild Wars Zaishen Keys including weapons. I am serious.
Email:[email protected]
MSN:[email protected]
Thank you for reading my post.