How to check player visibility?

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
god
Posts: 8
Joined: 2004-08-02 14:11:24
Contact:

How to check player visibility?

Post by god »

I'm looking for a command fot testing that player is reachable for casting spells or another action... Could you help or point me?

LOS - line of sight is original namein ultima world...

for example:
I'm running in back my opponent and casting An Ex Por (paralyze) first when I'll cast it I want check if opponent is still reachable and my cast will success...
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

LOS calculated by server using complex routines. they can be scripted, but not in public injection version.

the simpliest thing you can always check is only a distance to object, using uo.GetDistance(object)
Post Reply