- Joined
- Aug 1, 2013
- Messages
- 4,658
Hi all.
Why can't I do this?
When I do
I see that "try" is an integer and so I have to put the keyword "function" before it.
But why doesn't it work with real integers?
Why can't I do this?
JASS:
function try takes nothing returns nothing
local integer i = try
call TriggerAddAction(gg_trg_Test_Settings, function i)
endfunction
When I do
call TriggerAddAction(gg_trg_Test_Settings, try)
I see that "try" is an integer and so I have to put the keyword "function" before it.
But why doesn't it work with real integers?