Jump to content

[LE] SKSE Scaleform Function Issue


Flessen

Recommended Posts

Hi Guys, I wonder if you can help.

 

I've been working on changing the TweenMenu UI in Skyrim, and am trying to pull some ActorValues into a menu using the RequestActorValue SKSE function, but I noticed that that particular function isn't working as I thought it would.

 

the SKSE_docs.txt describes the function as:

function RequestActorValue(formID : Number, actorValue : Number, outData : Object) : Void;

but looking at the Hooks_Scaleform.cpp source file (line 585) it's actually getting the arguments as:

ASSERT(args->args[0].GetType() == GFxValue::kType_Number);
ASSERT(args->args[1].GetType() == GFxValue::kType_Array);
ASSERT(args->args[2].GetType() == GFxValue::kType_Array);

which implies the function should be called as:

function RequestActorValues(formID : Number, actorValue : Array, outData : Array) : Void;

and then it attempts to push an Object into the outData Array, without stating what position it's putting it.

 

Is this a broken function, or am I just interpreting it wrong?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...