This took me a while to figure out
Your flag to capture
;Artificial Intelligence Script
;Header
desc = flag
;Triggers
:state=0:dimvar=GF1,dimvar=Team1,setvar=GF1 0,setvar=Team1 0,state=1
:state=1,varequal=Team1 3:plrmoveto=Win Zone
:state=1,plrdistwithin=75:setvar=GF1 1
:state=1,varequal=GF1 1:hideentity,state=2
:state=2,varequal=GF1 0:showentity,state=1
;End of Script
Your base
;Artificial Intelligence Script
;Header
desc = Start1
;Triggers
:state=0,plrdistwithin=50,varequal=GF1 1:setvar=GF1 0,addvar=Team1 1
;End of Script
Their flag
;Artificial Intelligence Script
;Header
desc = flag
;Triggers
:state=0:dimvar=E1,dimvar=GF2,dimvar=Team2,setvar=E1 0,setvar=Team2 0,setvar=GF2 0,state=1
:state=1,varequal=3 %Team2:plraddhealth=-9999
:state=1,anywithin=25,plrdistfurther=85:setvar=GF2 1
:state=1,varnotequal=0 %GF2:hideentity,state=2
:state=2,varequal=0 %GF2:showentity,state=1
;End of Script
Their start
;Artificial Intelligence Script
;Header
desc = Start2
;Triggers
:state=0,anywithin=50,varnotequal=0 %GF2,varequal=E1 2:setvar=GF2 0,setvar=E1 0,addvar=Team2 1
;End of Script
Just add this to the end of the follow script in the last line
So it looks like this
:waypointstate=5:animate=5,waypointreverse,addvar=E1 1
Please comment