User Tools

Site Tools


cuo_func

This is an old revision of the document!


Scripting - CUO Specific Functions

Here can find some information about Scripting functions that work with CUO

Load Map Markers
Syntax CUO.LoadMarkers()
Description:
Calls the LoadMarkers function on the CUO world map. The map must be open for this to work. use in your code like:

#
CUO.LoadMarkers()
#

Returns nothing
In Object: CUO
Parameters:
Go to Map Marker
Syntax CUO.GoToMarker(x, y)
Description:
Executes the GoToMarker function on the CUO world map passing the x and y you provided. The map must be open for this to work. use in your code like:

#
CUO.GoToMarker(100, 200)
#

Returns nothing
In Object: CUO
Parameters:
FreeView for CUO Map
Syntax CUO.FreeView(bool)
Description:
Executes the FreeView function on the CUO world map passing the bool you provided. The map must be open for this to work. use in your code like:

#
CUO.FreeView(True)
#

Returns nothing
In Object: CUO
Parameters:
Close Treasure Map
Syntax CUO.CloseTMap()
Description:
Finds the first Treasure Map gump on your screen and closes it. If a Treasure Map gump was found returns True, otherwise returns False. use in your code like:

#
CUO.CloseTMap()
#

Returns True if a Treasure map was closed, otherwise False
In Object: CUO
Parameters:

CUO Profile Option Changes

Sets an option in the CUO Profile
Syntax CUO.ProfilePropertySet(string propertyName, bool enable)
Description:
This was just an experiment to see if I could automate the changing of CUO properties. use in your code like:

#
CUO.ProfilePropertySet("fps", "80")
#

Returns Nothing
In Object: CUO
Parameters:

cuo_func.1696825709.txt.gz · Last modified: 2023/10/09 04:28 by 127.0.0.1

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the gitbacked plugin.

More info has been written to the DokuWiki error log.