Comparing the material with the role model

The first matching value defines, how much a given material fits to the pre-defined antagonist/protagonist and returns a value between 0 (no match) and 100 (maximum similarity). It compares all parameters in the target_material_parametrical_fieldnames array (defined in film.inc) with the fields of the current material.


function _timeline_protagonist_antagonist($_fields, &$_current_antagonist_protagonist)