The Dink Network

small development question

August 5th 2002, 08:56 PM
death.gif
Hey all. I was just wondering if anyone knew of a way to directly access Dink's X/Y coordinates in scripts (find the value, not modify it).
August 5th 2002, 09:09 PM
wizardg.gif
Paul
Peasant He/Him United States
 
: Hey all. I was just wondering if anyone knew of a way to directly access Dink's X/Y coordinates in scripts (find the value, not modify it).

Easy:

&myvar = sp_> 1, -1);

Obviuosly you replace x with y when that's what you want. The 1 refer's to Dink and the -1 says to return the value instead of changing it.

August 5th 2002, 09:20 PM
death.gif


: Easy:

: &myvar = sp_> 1, -1);

: Obviuosly you replace x with y when that's what you want. The 1 refer's to Dink and the -1 says to return the value instead of changing it.

Ahhhh, yea. I shoulda known that...Thanks a lot.