What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How are keys picked up?

Thric3

New Member
Joined
Oct 23, 2012
Messages
70
Reaction score
0
I'm seeing in the Giles Trinity notes that keys are given a SNO of 166943.

However, I'm trying to use this in a script to determine their relative location to my barb.

How would I identify whether there is a key on the ground or not? is basically what I'm getting at. Thanks.
 
You can use
PHP:
<If condition=ActorExistsAt(166943,ZetaDia.Me.Position.X,ZetaDia.Me.Position.Y,ZetaDia.Me.Position.Z,30)">
	<!-- Pick up key -->
<If>
To see if the key (ID=166943) is at range 30 of your char's position.
 
Back
Top