/*%FSM*/ /*%FSM*/ /* item0[] = {"Init",0,250,-300.000000,-225.000000,-200.000000,-175.000000,0.000000,"Init"}; item1[] = {"_",8,218,-300.000000,-150.000000,-200.000000,-100.000000,0.000000,""}; item2[] = {"Process",2,250,-300.000000,-75.000000,-200.000000,-25.000000,0.000000,"Process"}; item3[] = {"BAD_HIVE",4,218,-300.000000,50.000000,-200.000000,100.000000,1.000000,"BAD HIVE"}; item4[] = {"Camera_View_Chec",4,4314,-125.000000,-75.000000,-25.000000,-25.000000,0.000000,"Camera View" \n "Checks"}; link0[] = {0,1}; link1[] = {1,2}; link2[] = {2,3}; link3[] = {2,4}; link4[] = {3,2}; link5[] = {4,2}; globals[] = {25.000000,1,0,0,16777215,640,480,1,125,6316128,1,-408.109894,77.792206,142.419571,-234.573410,812,880,1}; window[] = {2,-1,-1,-1,-1,763,26,1051,26,3,830}; *//*%FSM*/ class FSM { fsmName = "SPVEH"; class States { /*%FSM*/ class Init { name = "Init"; init = /*%FSM*/"diag_log ""Loaded Client Secure PVEH"";" \n "if (isNil ""BAD_HIVE"") then {" \n " BAD_HIVE = false;" \n "};" \n "_prevBAD_HIVE = false;"/*%FSM*/; precondition = /*%FSM*/""/*%FSM*/; class Links { /*%FSM*/ class _ { priority = 0.000000; to="Process"; precondition = /*%FSM*/""/*%FSM*/; condition=/*%FSM*/"true"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ }; }; /*%FSM*/ /*%FSM*/ class Process { name = "Process"; init = /*%FSM*/""/*%FSM*/; precondition = /*%FSM*/""/*%FSM*/; class Links { /*%FSM*/ class BAD_HIVE { priority = 1.000000; to="Process"; precondition = /*%FSM*/""/*%FSM*/; condition=/*%FSM*/"!(BAD_HIVE isEqualTo _prevBAD_HIVE)"/*%FSM*/; action=/*%FSM*/"_prevBAD_HIVE = true;" \n "PLAYER_BADHIVE = true;" \n "publicVariableServer ""PLAYER_BADHIVE"";"/*%FSM*/; }; /*%FSM*/ /*%FSM*/ class Camera_View_Chec { priority = 0.000000; to="Process"; precondition = /*%FSM*/""/*%FSM*/; condition=/*%FSM*/"cameraView == ""GROUP"""/*%FSM*/; action=/*%FSM*/"vehicle player switchCamera ""Internal"";"/*%FSM*/; }; /*%FSM*/ }; }; /*%FSM*/ }; initState="Init"; finalStates[] = { }; }; /*%FSM*/