Pretty new to Lua, so maybe this is a simple Lua question, but I’ve tried to search and read Lua tutorials and can’t find out how to pass a pointer to a function, so the function can change the variable.
What I’m trying to figure out is how to use GetRandomVehicleNode, which is define like this in C# code:
@Havoc Oh, thank you! I tried outpos, heading = GetRandomVehicleNode(..), but couldn’t figure out why outpos was 1/true and thought I was way off in my experimentation. That makes sense, thanks.