You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that every instance of your dllmain.cpp refers to member variables by name rather than setter/getter methods. I'm wondering if your remember if that's the case for when you built this a year ago, as that is currently the case for myself.
Here's an example function for the PlayerController_TA object: playerCar->DrawScale = 2.f; --- This works
vs. playerCar->SetDrawScale(2.f); --- This doesn't work
When I run a debugger and step through the code in the latter section this part runs, but doesn't affect anything: Engine_functions.h
voidAActor::SetDrawScale ( float NewScale )
{
static UFunction* pFnSetDrawScale = NULL;
if ( ! pFnSetDrawScale )
pFnSetDrawScale = (UFunction*) UObject::GObjObjects()->Data[ 4402 ];
AActor_execSetDrawScale_Parms SetDrawScale_Parms;
SetDrawScale_Parms.NewScale = NewScale;
pFnSetDrawScale->FunctionFlags |= ~0x400;
//if (pFnSetDrawScale) // A change I tried to get ProcessEvent to actually change the DrawScale// pFnSetDrawScale->ProcessEvent(pFnSetDrawScale, &SetDrawScale_Parms , NULL);this->ProcessEvent ( pFnSetDrawScale, &SetDrawScale_Parms, NULL );
pFnSetDrawScale->FunctionFlags |= 0x400;
};
In the commented section, I tried referring to ProcessEvent through the pFnSetDrawScale UFunction*. Neither works to update DrawScale unfortunately. I'm wondering if you've tried something that's worked in the past since your dllmain.cpp has no UObject function calls.
The text was updated successfully, but these errors were encountered:
It appears that every instance of your dllmain.cpp refers to member variables by name rather than setter/getter methods. I'm wondering if your remember if that's the case for when you built this a year ago, as that is currently the case for myself.
Here's an example function for the PlayerController_TA object:
playerCar->DrawScale = 2.f;
--- This worksvs.
playerCar->SetDrawScale(2.f);
--- This doesn't workWhen I run a debugger and step through the code in the latter section this part runs, but doesn't affect anything:
Engine_functions.h
In the commented section, I tried referring to ProcessEvent through the
pFnSetDrawScale
UFunction*. Neither works to update DrawScale unfortunately. I'm wondering if you've tried something that's worked in the past since your dllmain.cpp has no UObject function calls.The text was updated successfully, but these errors were encountered: