Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Line of Sight #128

Open
sowmatheus opened this issue Apr 28, 2020 · 6 comments
Open

Check Line of Sight #128

sowmatheus opened this issue Apr 28, 2020 · 6 comments

Comments

@sowmatheus
Copy link

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

@sowmatheus
Copy link
Author

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
Copy link
Author

Look that video

@sowmatheus
Copy link
Author

Need to preserve target if wall between me and target

@Hotride
Copy link
Owner

Hotride commented Apr 30, 2020

In the macros that you record in the assistant?

@sowmatheus
Copy link
Author

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

@ghzatomic
Copy link

Same problem here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants