How to set the value of a parameter
There are three ways of editing the value of a parameter.
Set value by adding it inside the
<member>
tag.<clone prototype="skill_example"> <member id="parameter_1">value</member> </clone>
Set a value by referring to another parameter. If used, the parameter is like a pointer and does not hold data itself.
<clone prototype="skill_example"> <member id="parameter_1" reference_id="parameter_0"/> </clone>
Edit list or dictionary parameters: The new parameter (here
monitor_duration
) is placed within themonitors
member tags. Basically this is the same as the first option.<member id="monitors"> <!-- list of monitors(parameters) --> <clone prototype="monitor_duration"> <!-- example monitor(parameter) --> </clone> </member>
Note
Currently there is no way to delete values from lists. In this example, the new duration monitor is added to the list, not touching the possibly already existing entries (which could come from the prototype).