| Blockland Forums > Modification Help |
| Interval Command? |
| << < (5/5) |
| Syntax:
You do know how schedule works right? its schedule(time,this,function,args) lets say time = 3 seconds and schedule basically means, in 3 seconds, we will call this function with its arguments! |
| ThinkInvisible:
--- Quote from: Syntax on August 26, 2010, 11:05:27 PM ---You do know how schedule works right? its schedule(time,this,function,args) lets say time = 3 seconds and schedule basically means, in 3 seconds, we will call this function with its arguments! --- End quote --- What, exactly, is 'this'? 'schedule(time,this,function,args)' |
| Destiny/Zack0Wack0:
It's the reference object. For example using the reference object: schedule(100,%brick,"killBrick"); This calls %brick.killBrick(); in 100 milliseconds. |
| Oblivious:
--- Quote from: Syntax on August 26, 2010, 11:05:27 PM ---You do know how schedule works right? its schedule(time,this,function,args) lets say time = 3 seconds and schedule basically means, in 3 seconds, we will call this function with its arguments! --- End quote --- Actually, I really don't., . . . I'm like a week old at this. |
| Navigation |
| Message Index |
| Previous page |