going over this document -
first, there's a bug in the docs -
the text is
override public void ShowGUI (List parameters)
but the image hasoverride public void ShowGUI (List<ActionParameter> parameters)
now
i'm not sure what i should put in the Assign Values or in the
if (parameterID >= 0)
portion of the ShowGui function.
would appreciate some guidance
Oded
Comments
If (parameterID >= 0), that means you have a parameter assigned - so there's no need to show the regular UI field. AC's Actions tend to nullify the field the parameter overrides (since it's not showing), but technically that's not essential as it's re-assigned in AssignValues anyway.
In AssignValues, you re-assign the value of the field your parameter overrides with the parameter's value. In the case of an inventory item, you want to use Action's AssignInvItemID function, eg:
invID = AssignInvItemID (parameters, parameterID, invID);
Something went weird with the tags there