Parameters |
Description |
int nMilliseconds |
Delay of trigger in milliseconds. |
luaFunction |
. |
userData |
(optional) Any user defined table. If specified it will be passed as a first argument of the callback function. |
bUpdateDuringPause |
(optional) will be updated and trigger even if in pause mode. |
ID assigned to this timer or nil if not specified.
!
! ! Set a general script timer, when timer expires will call back a specified lua function. ! Lua function will accept 1 or 2 parameters, ! if userData is specified luaFunction must be: !
! if userData is not specified luaFunction must be: !
!.!
!
!
!
!
Copyright (c) 2012. All rights reserved.
|