Hotride / OrionUO

Orion - Ultima Online graphic client, using OpenGL for rendering
MIT License
173 stars 113 forks source link

Check Line of Sight #128

Open sowmatheus opened 4 years ago

sowmatheus commented 4 years ago

Is it possible to create Macro to check if Target is in Line of Sight?

sowmatheus commented 4 years ago

I`ve got that:

Orion.SetLOSOptions('pol'); if (Orion.InLOS('lasttarget')) { Orion.TargetObject('lasttarget'); }

but the probelm is: I need to block lasttarget if have objects between me and target like trees.

sowmatheus commented 4 years ago

Look that video

sowmatheus commented 4 years ago

Need to preserve target if wall between me and target

Hotride commented 4 years ago

In the macros that you record in the assistant?

sowmatheus commented 4 years ago

Like in the video, im trying to use a simple command from shard and use "lasttarget" from "Scripts" in the assistant..

ghzatomic commented 4 months ago

Same problem here