What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

need help with WoW Lua values

vlad0327

New Member
Joined
Feb 4, 2011
Messages
291
Reaction score
10
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
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:
Back
Top