Skip to content

Commit 4919f41

Browse files
committed
Update SQUADBEH.fsm
1 parent 697f00f commit 4919f41

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

Vcom/FSMS/SQUADBEH.fsm

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ item40[] = {"Exit_Cond",4,218,675.000000,475.000000,775.000000,525.000000,700.00
4545
item41[] = {"Exit_FSM_2",1,250,700.000000,600.000000,775.000000,650.000000,0.000000,"Exit FSM"};
4646
item42[] = {"COVER2COVER",4,218,1150.000000,275.000000,1250.000000,325.000000,104.000000,"COVER2COVER"};
4747
item43[] = {"Clear_Building",4,218,1200.000000,300.000000,1300.000000,350.000000,50.000000,"Clear Building"};
48-
item44[] = {"Combat_END",4,218,684.709351,384.913361,784.709351,434.913361,90.000000,"Combat END"};
48+
item44[] = {"Combat_END",4,4314,684.709351,384.913361,784.709351,434.913361,120.000000,"Combat END"};
4949
link0[] = {0,1};
5050
link1[] = {0,3};
5151
link2[] = {1,2};
@@ -113,8 +113,8 @@ link63[] = {40,41};
113113
link64[] = {42,27};
114114
link65[] = {43,27};
115115
link66[] = {44,27};
116-
globals[] = {0.000000,0,0,0,0,640,480,2,622,6316128,1,873.519287,1279.480713,811.393738,99.596008,446,782,1};
117-
window[] = {0,-1,-1,-1,-1,1137,393,1694,183,1,464};
116+
globals[] = {0.000000,0,0,0,0,640,480,2,622,6316128,1,408.611816,927.655029,921.225647,11.154083,446,782,1};
117+
window[] = {0,-1,-1,-1,-1,1005,359,1660,51,1,464};
118118
*//*%FSM</HEAD>*/
119119
class FSM
120120
{
@@ -500,6 +500,30 @@ class FSM
500500
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
501501
};
502502
/*%FSM</LINK>*/
503+
/*%FSM<LINK "Combat_END">*/
504+
class Combat_END
505+
{
506+
itemno = 44;
507+
priority = 120.000000;
508+
to="Return";
509+
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
510+
condition=/*%FSM<CONDITION""">*/"((behaviour _leader) isEqualTo ""COMBAT"") && {!(_VCOM_GARRISONED)} && {_leader distance (_leader call VCM_fnc_ClstEmy) > 400}" \n
511+
""/*%FSM</CONDITION""">*/;
512+
action=/*%FSM<ACTION""">*/"// return behaviour and speed to normal" \n
513+
"_Beh = ""SAFE"";" \n
514+
"_leader setBehaviour _StartingBehavior;" \n
515+
"(group _leader) setSpeedMode ""NORMAL"";" \n
516+
"" \n
517+
"// delete waypoints" \n
518+
"_leader spawn" \n
519+
"{" \n
520+
" while {(count (waypoints (group _this))) > 0} do" \n
521+
" { deleteWaypoint ((waypoints (group _this)) select 0); };" \n
522+
"};" \n
523+
"" \n
524+
"if (VCM_Debug) then {systemchat ""COMBAT END"";};"/*%FSM</ACTION""">*/;
525+
};
526+
/*%FSM</LINK>*/
503527
/*%FSM<LINK "Combat_BEGIN">*/
504528
class Combat_BEGIN
505529
{
@@ -525,30 +549,6 @@ class FSM
525549
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
526550
};
527551
/*%FSM</LINK>*/
528-
/*%FSM<LINK "Combat_END">*/
529-
class Combat_END
530-
{
531-
itemno = 44;
532-
priority = 90.000000;
533-
to="Return";
534-
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
535-
condition=/*%FSM<CONDITION""">*/"((behaviour _leader) isEqualTo ""COMBAT"") && {!(_VCOM_GARRISONED)} && {_leader distance (_leader call VCM_fnc_ClstEmy) > 400}" \n
536-
""/*%FSM</CONDITION""">*/;
537-
action=/*%FSM<ACTION""">*/"// return behaviour and speed to normal" \n
538-
"_Beh = ""SAFE"";" \n
539-
"_leader setBehaviour _StartingBehavior;" \n
540-
"(group _leader) setSpeedMode ""NORMAL"";" \n
541-
"" \n
542-
"// delete waypoints" \n
543-
"_leader spawn" \n
544-
"{" \n
545-
" while {(count (waypoints (group _this))) > 0} do" \n
546-
" { deleteWaypoint ((waypoints (group _this)) select 0); };" \n
547-
"};" \n
548-
"" \n
549-
"if (VCM_Debug) then {systemchat ""COMBAT END"";};"/*%FSM</ACTION""">*/;
550-
};
551-
/*%FSM</LINK>*/
552552
/*%FSM<LINK "Hold_WP">*/
553553
class Hold_WP
554554
{

0 commit comments

Comments
 (0)