User Tools

Site Tools


timer_func

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
timer_func [2019/10/18 13:22]
avontti
timer_func [2020/07/06 03:29] (current)
Line 1: Line 1:
 ====== Scripting - Timer control function ====== ====== Scripting - Timer control function ======
  
-Here you can find some information about Timer control function!+=====Timer Create===== 
 + 
 +{|style="​font-size:​85%;​ border:​solid 2px; width: 50%;"​ 
 +|style="​font-size:​150%; ​ padding: 2px" colspan="​2"​ | **Create a Named Timer** 
 +|- style="​background-color:#​f0f0f0;"​ 
 +|**Syntax** 
 +|style="​width:​ 90%" | Timer.Create(string TimerName, int ms_timer ) 
 +|- 
 +|colspan="​2"​ |**Description:​** 
 +|- 
 +|colspan="​2"​ |Create a timer with the provided name that will expire in ms_timer time (in milliseconds) 
 +|- style="​background-color:#​f0f0f0;"​ 
 +|**Returns** 
 +|void 
 +|- 
 +|**In Object:** 
 +|Timer 
 +|- style="​background-color:#​f0f0f0;"​ 
 +|**Parameters:​** 
 +|none 
 + 
 +|} 
 + 
 +=====Timer Check===== 
 + 
 +{|style="​font-size:​85%;​ border:​solid 2px; width: 50%;"​ 
 +|style="​font-size:​150%; ​ padding: 2px" colspan="​2"​ | **Check if a timer is expired or not** 
 +|- style="​background-color:#​f0f0f0;"​ 
 +|**Syntax** 
 +|style="​width:​ 90%" | Timer.Check(string TimerName) 
 +|- 
 +|colspan="​2"​ |**Description:​** 
 +|- 
 +|colspan="​2"​ |Check if a timer object is expired or not,  
 +|- style="​background-color:#​f0f0f0;"​ 
 +|**Returns** 
 +|bool - True if not expired, false if expired 
 +|- 
 +|**In Object:** 
 +|Timer 
 +|- style="​background-color:#​f0f0f0;"​ 
 +|**Parameters:​** 
 +|none 
 + 
 +|}
  
timer_func.txt · Last modified: 2020/07/06 03:29 (external edit)