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

Help scripting #125

Open
danielmouraa opened this issue Apr 24, 2020 · 1 comment
Open

Help scripting #125

danielmouraa opened this issue Apr 24, 2020 · 1 comment

Comments

@danielmouraa
Copy link

danielmouraa commented Apr 24, 2020

Hello,

I'm trying to script in OrionUO (its awesome btw), but i didint find how to get the text from journal. The function Orion.LastJournalMessage() returns a Object of type Journal, how can i interact with this object? I cant find in documentation how to manipulate the objects.

And where can i find some sample scripts to learn?

(sorry for the bad english)

@Hotride
Copy link
Owner

Hotride commented Apr 24, 2020

Hello!
You can find scripting API information here:
https://github.com/Hotride/OrionUO/wiki/Orion-Assist-scripting-module-commands
For working with journal use Orion.InJournal or Orion.WaitJournal functions, result of this commands is: https://github.com/Hotride/OrionUO/wiki/Journal-message-class-Orion-Assistant
Thanks for using Orion!

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

2 participants