Method WorldObject:IsWithinLoS [-] [+]

Returns true if the given WorldObject or coordinates are in the WorldObject's line of sight

Synopsis

isInLoS = WorldObject:IsWithinLoS( worldobject )

isInLoS = WorldObject:IsWithinLoS( x, y, z )

Arguments

WorldObject worldobject
See method description.
number x

Valid numbers: all decimal numbers.

number y

Valid numbers: all decimal numbers.

number z

Valid numbers: all decimal numbers.

Returns

boolean isInLoS
See method description.

Generated on
© 2010 - 2024 Eluna Lua Engine