Hi there,
I have a lot of experience coding however sometimes my variable is not being read.
If I put a variable at the top it should be able to be read in functions. However, it is not working my sample code looks like this.
local myCoolVariable
local function myCoolFunction (event)
myCoolVariable = myCoolVariable +1
end
This should work but it doesn’t any ideas? Im sure Im missing something small. [import]uid: 83863 topic_id: 17027 reply_id: 317027[/import]
[import]uid: 3826 topic_id: 17027 reply_id: 63917[/import]