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
Map Related
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_func.1696825281.txt.gz · Last modified: 2023/10/09 04:21 by 127.0.0.1