- Joined
- Dec 13, 2008
- Messages
- 222
I have a question that will maybe be simple to experienced mappers. It is about JASS functions. Can someone tell me how can I "transfer" local variables from one function to another, WITHOUT using vJass?
Example
I hope someone can help me.
Example
JASS:
function bb takes ??? returns nothing
i want to transfer unit u, integer i and real r variables here
...
endfunction
function aa takes nothing returns nothing
local unit u
local real r
local integer i
local timer t = CreateTimer()
set u = MyUnit
set r = MyReal
set i = MyInt
call TimerStart(t, 0.04, true, function bb)
I hope someone can help me.