Revision Difference
duplicator.DoFlex#528248
<function name="DoFlex" parent="duplicator" type="libraryfunc">
<description>Restores the flex data using <page>Entity:SetFlexWeight</page> and <page>Entity:SetFlexScale</page></description>
<realm>Server</realm>
<file line="370-L386">lua/includes/modules/duplicator.lua</file>⤶
<args>
<arg name="ent" type="Entity">The entity to restore the flexes on</arg>
<arg name="flex" type="table">The flexes to restore</arg>
<arg name="scale" type="number" default="nil">The flex scale to apply. (Flex scale is unchanged if omitted)</arg>
</args>
</function>