From e304f7f791de42a7bf5e42aa4cdef190c3bdf0e8 Mon Sep 17 00:00:00 2001 From: vbawol Date: Fri, 23 Jun 2017 17:23:57 -0500 Subject: [PATCH] for sanity --- Sources/epoch_code/System/EPOCH_zombie_brain.fsm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/epoch_code/System/EPOCH_zombie_brain.fsm b/Sources/epoch_code/System/EPOCH_zombie_brain.fsm index 6e4fbd41..4c8dd485 100644 --- a/Sources/epoch_code/System/EPOCH_zombie_brain.fsm +++ b/Sources/epoch_code/System/EPOCH_zombie_brain.fsm @@ -5,7 +5,7 @@ item0[] = {"brainz",0,250,-25.000000,75.000000,75.000000,125.000000,0.000000,"br item1[] = {"_",8,218,125.000000,-175.000000,225.000000,-125.000000,0.000000,""}; item2[] = {"instinct",2,250,125.000000,-250.000000,225.000000,-200.000000,0.000000,"instinct"}; item3[] = {"check",4,218,275.000000,-250.000000,375.000000,-200.000000,5.000000,"check"}; -item4[] = {"pre_dispose",2,250,-75.000000,-100.000000,25.000000,-50.000000,0.000000,"pre dispose"}; +item4[] = {"pre_dispose",2,4346,-75.000000,-100.000000,25.000000,-50.000000,0.000000,"pre dispose"}; item5[] = {"dispose_1",4,218,-75.000000,-275.000000,25.000000,-225.000000,100.000000,"dispose"}; item6[] = {"wait_dispose",4,218,-100.000000,-25.000000,0.000000,25.000000,0.000000,"wait" \n "dispose"}; item7[] = {"reset_vars",2,250,125.000000,-100.000000,225.000000,-50.000000,0.000000,"reset vars"}; @@ -23,7 +23,7 @@ item18[] = {"end",1,250,-150.000000,75.000000,-50.000000,125.000000,0.000000,"en item19[] = {"attack",4,218,-50.000000,-350.000000,50.000000,-300.000000,90.000000,"attack"}; item20[] = {"stuck",4,218,475.000000,-50.000000,575.000000,0.000000,30.000000,"stuck"}; item21[] = {"pre_vars___check",4,218,375.000000,-300.000000,475.000000,-250.000000,95.000000,"pre vars / checks"}; -item22[] = {"sight___target",4,4314,550.000000,-275.000000,650.000000,-225.000000,85.000000,"sight / target"}; +item22[] = {"sight___target",4,218,550.000000,-275.000000,650.000000,-225.000000,85.000000,"sight / target"}; item23[] = {"hearing___target",4,218,600.000000,-225.000000,700.000000,-175.000000,80.000000,"hearing / target"}; item24[] = {"spin",2,250,-50.000000,-425.000000,50.000000,-375.000000,0.000000,"spin"}; item25[] = {"wait",4,218,75.000000,-425.000000,175.000000,-375.000000,0.000000,"wait"}; @@ -71,7 +71,7 @@ link38[] = {25,2}; link39[] = {26,2}; link40[] = {27,10}; globals[] = {0.000000,0,0,0,0,640,480,1,267,6316128,1,-268.969421,732.515686,320.848328,-611.003845,978,884,1}; -window[] = {2,-1,-1,-1,-1,603,78,1103,78,3,996}; +window[] = {2,-1,-1,-1,-1,733,208,1233,208,3,996}; *//*%FSM*/ class FSM { @@ -406,7 +406,7 @@ class FSM { name = "pre_dispose"; itemno = 4; - init = /*%FSM*/"_nrTrgts = _zedPos nearEntities [_trgtArr, 480] select {isPlayer _x};" \n + init = /*%FSM*/"_nrTrgts = (_zedPos nearEntities [_trgtArr, 480]) select {isPlayer _x};" \n "_canSee = [];" \n "{" \n " if !(lineIntersects [eyePos _trgt, eyePos _zombie, _zombie, _trgt]) then{" \n