Yoko
http://forum.yoko.com.ua/

How to check player visibility?
http://forum.yoko.com.ua/viewtopic.php?f=20&t=2420
Page 1 of 1

Author:  god [ 2004-12-30 23:23:02 ]
Post subject:  How to check player visibility?

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...

Author:  Yoko [ 2004-12-31 12:57:46 ]
Post subject: 

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)

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/