NPC/Player coordinates, quick question

Axaidw

LOMCN n00bie
Mar 20, 2005
6
0
32
Hi,

I've got quick question: how can i check coordinetes than player is standing at? I've thoungt about FLD_CX / FLD_CY in TBL_CHARACTER, but i'ts update ever 5minutes (or so).

Sorry for my english :>
 

Kaori

LOMCN MiR3 Queen!
VIP
Jun 3, 2004
3,584
38
285
Canada
database updates 10 minutes

you have to go in game and probe the info instead for realtime coord...
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Mov A1 %UserX
Mov A2 %UserY
Mov A3 %UserMap

That should cover it for in game. As for out of game, as Kaori says.
 
Upvote 0

Axaidw

LOMCN n00bie
Mar 20, 2005
6
0
32
hmm, thant's a lot, but i've still got problems with a script, what's wrong with it?


[@main]
Mov A1 %UserX
Mov A2 %UserY
Mov A3 %UserMap
MapSpell [firewall] "A3,A1,A2,A1,A2, +d200, +t10, +h


I've wanted to put fire under player, it worked for specific coordinates, but when i want to use for this variables (a1,a2,a3) it doesn't work.
Maybe i should use other function? (not MapSpell)

What's wrong?

PS. I've tryied to put '%' before varieble, but it doesn't work
 
Upvote 0