Page MenuHomeFeedback Tracker

Enscript modded function signature parameter name bug
New, UrgentPublic

Description

If the original game class - for example MissionGameplay - defines a function

void OnUpdate(float timeslice)

a modded class MUST also name the parameter "timeslice" or else it won't compile - saying that he can not find the new name as a variable. So

override void OnUpdate(float otherVariableName)
{
    super.OnUpdate(otherVariableName);
    ...
}

is currently invalid.

The function signature should not care about the name of a parameter and only about types and order.

This bug has rather large implications when one of the game functions changes it's parameter names. All mods that override that function break in that case.

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Additional Information

Please forward the issue to the Enfusion script team.