User Tools

Site Tools


cuo_func

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cuo_func [2023/10/09 04:57] credzbacuo_func [2023/10/09 05:17] (current) – external edit 127.0.0.1
Line 273: Line 273:
 |**Parameters:** |**Parameters:**
 |} |}
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Open the health bar of a mobile at a specified screen location**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | CUO.OpenMobileHealthBar(uint mobileserial, int x, int y, bool custom)
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" | Opens a health bar for a mobile and places the gump at the specified location.
 +use in your code like:
 +<code>
 +#
 +CUO.OpenMobileHealthBar(0x345678, 100, 200, False)
 +#
 +</code>
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +|Nothing
 +|-
 +|**In Object:**
 +|CUO
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +| uint mobileserial
 +| int x 
 +| int y
 +| bool custom - True - the CUO square "minimalist" gump vs False - the standard UO gump
 +|}
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Close the health bar of a mobile**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | CUO.CloseMobileHealthBar(uint mobileserial)
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" | Closes a health bar for a mobile.
 +use in your code like:
 +<code>
 +#
 +CUO.CloseMobileHealthBar(0x345678)
 +#
 +</code>
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +|Nothing
 +|-
 +|**In Object:**
 +|CUO
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +| uint mobileserial
 +|}
 +
 +===== CUO Macro Function =====
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Play a CUO macro by name**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | CUO.PlayMacro(string macroName)
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" | WARNING Limited Testing: Attempts to play a CUO macro given its name.
 +use in your code like:
 +<code>
 +#
 +CUO.PlayMacro("MyMacro")
 +#
 +</code>
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +|Nothing
 +|-
 +|**In Object:**
 +|CUO
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +| string macroName
 +|}
 +
cuo_func.1696827452.txt.gz · Last modified: 2023/10/09 04:57 by credzba

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.