Difference between revisions of "Event Sleep"
From Wiki
m (Reverted edits by 213.10.205.64 (Talk); changed back to last version by Seg) |
|||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{command header|Event}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | {{body|event Sleep {ms}|The event Sleep command suspends the client for a specified number of miliseconds. The client will be completely unresponsive, but will use 0% CPU time.}} | |
− | The event Sleep command suspends the client for a specified number of miliseconds. The client will be completely unresponsive, but will use 0% CPU time. | + | |
==== Example ==== | ==== Example ==== | ||
<pre> | <pre> | ||
− | |||
− | |||
if %waitForVendorRespawn = #true | if %waitForVendorRespawn = #true | ||
{ | { | ||
Line 21: | Line 14: | ||
</pre> | </pre> | ||
− | + | =See Also= | |
− | { | + | {{Event}} |
− | + | ||
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + | ||
− | + |
Latest revision as of 11:45, 26 March 2008
Synopsis
event Sleep {ms}
Description
The event Sleep command suspends the client for a specified number of miliseconds. The client will be completely unresponsive, but will use 0% CPU time.
Example
if %waitForVendorRespawn = #true { ; sleep for one minute event Sleep 60000 } ...
See Also
Event
- Event commands cause the Ultima Online client to use one of its available internal macros.
event Drag | Drags an object |
event ExMsg | Shows a message over the object given by the ID |
event Macro | Performs a UO internal macro |
event PathFind | Moves you to a specified position if it is possible |
event Property | Reads the property description of an item |
event SkillLock | Changes the skill locks on the different skills |
event Sleep | Suspends the client for a specified time |
event SysMessage | Outputs text to the client as a system message |