Es.delayed

From EventScripts Community Encyclopedia
This article is a stub. Please help by adding to it.



Method: delayed

Module: es
Class: (no class)
EventScripts version: 2.0

Method Overview

Table of Contents

Contents


Description

Executes the command after the delaytime (in seconds). This is the Python equivalent of: http://www.eventscripts.com/pages/es_delayed

Arguments

  • delaytime - Number of seconds that you'd like to delay the command for. (can be float values, i.e. 1.23)
  • command - Command to be executed. Can be a single command or a block (using es_xdoblock).


Examples

es.delayed(.1, "es.msg delay of .1 seconds")
es.msg("No delay")
es.delayed(.6, "es.msg delay of .6 seconds")
es.delayed(.3, "es.msg delay of .3 seconds")

Notes

  • Important note: All pending commands that have been es.delayed are cleared on a map change. This is by design.


See Also

blog comments powered by Disqus