I'm kind of stuck on one project of mine..
Due to total lack of C# knowledge, I can't figure out how to pass an internal WoW lua value to HB.
I know how to grab a bolean value from wow
And I know how to use Lua.GetReturnValues. But it creates a System.Collections.Generic.List.
Now what I need is a WoW internal double value to be passed to HB for use. And my brain already explodes from googling it.
If someone could provide me a working piece of code for this it would be much appreciated.
Or as an alternative a Styx function to grab my current vehicle aim angle(in Radians) if such exists.
#EDIT NVM, I'm a moron. Found what I needed.
Due to total lack of C# knowledge, I can't figure out how to pass an internal WoW lua value to HB.
I know how to grab a bolean value from wow
PHP:
bool somename { get { return Lua.GetReturnVal<int>("SomeLuaBoolCheck then return 1 else return 0 end", 0) == 1; } }
And I know how to use Lua.GetReturnValues. But it creates a System.Collections.Generic.List.
Now what I need is a WoW internal double value to be passed to HB for use. And my brain already explodes from googling it.
If someone could provide me a working piece of code for this it would be much appreciated.
Or as an alternative a Styx function to grab my current vehicle aim angle(in Radians) if such exists.
#EDIT NVM, I'm a moron. Found what I needed.
Last edited: