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 05:03] – external edit 127.0.0.1cuo_func [2023/10/09 05:17] (current) – external edit 127.0.0.1
Line 273: Line 273:
 |**Parameters:** |**Parameters:**
 |} |}
- 
-OpenMobileHealthBar(uint mobileserial, int x, int y, bool custom) 
  
 {|style="font-size:85%; border:solid 2px; width: 50%;" {|style="font-size:85%; border:solid 2px; width: 50%;"
Line 302: Line 300:
 | int x  | int x 
 | int y | int y
-| bool custom+| 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.1696827830.txt.gz · Last modified: 2023/10/09 05:03 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.