snkman 351 Posted July 30, 2010 Hi guy's, well i'm just looking for 2 commands where i don't know exactly, what they do. CfgFSMs.hpp class Init { function = "formationInit"; parameters[] = {}; [b]thresholds[] = { {0, 0.5, 0.5} };[/b] }; class Links { class Always { priority = 0.0; to = "Start"; class Condition { function = "true"; parameters[] = {}; threshold = 0; }; class Action { function = "nothing"; parameters[] = {}; thresholds[] = {}; }; }; }; What does the "thresholds[] = { {0, 0.5, 0.5} };" exactly do here? CfgFSMs.hpp class Search_path__Covering { name = "Search_path__Covering"; class Init { function = "searchPath"; [b]parameters[] = {10, 5};[/b] thresholds[] = {}; }; class Links { class Cover_reached { priority = GL4_FSM_SPC_Cover_Reached; to = "Provide_cover__Out"; class Condition { function = "coverReached"; parameters[] = {}; threshold = 0; }; class Action { function = "nothing"; parameters[] = {}; thresholds[] = {}; }; }; class No_cover { priority = GL4_FSM_SPC_No_Cover; to = "Start"; class Condition { function = "true"; parameters[] = {}; threshold = 0; }; class Action { function = "nothing"; parameters[] = {}; thresholds[] = {}; }; }; }; }; What does the "parameters[] = {10, 5};" exactly do here? Please don't link me to the FSM Editor Manual i already read it but i don't get the point. Any thoughts are welcome. :) Share this post Link to post Share on other sites