CLEO Help Bot not follow

CLEO related
Status
Not open for further replies.

Krc

Active member
Joined
Mar 30, 2018
Messages
193
Reaction score
25
Location
Lithuania
Sup, does anyone know why this dog does not follow me? I've added 0850: AS_actor 18 @ follow_actor $ PLAYER_ACTOR, but it can't move. It's only showing running animation
Code:
{$CLEO .cs}
0000: NOP 

:Noname_4
0001: wait 0 ms 
00D6: if 
0ADC: test_cheat "dogva" 
004D: jump_if_false @Noname_4
0ACD: show_text_highpriority "~W~DOGVA ~G~ISJUNGTAS~W~" time 1000 
0002: jump @Noname_30 

:Noname_30
0001: wait 0 ms    
0247: load_model #HMYST 
04C4: store_coords_to 7@ 8@ 9@ from_actor $PLAYER_ACTOR with_offset 0.0 4.0 0.0 
038B: load_requested_models 
009A: 18@ = create_actor_pedtype 8 model #HMYST at 7@ 8@ 9@ 
0223: set_actor 18@ health_to 500 
02AB: set_actor 18@ immunities BP 1 FP 1 EP 1 CP 1 MP 1  
05D9: AS_actor 18@ run_to_actor $PLAYER_ACTOR timelimit -1 stop_within_radius 3.0 
wait 205 
07AF: 10@ = player $PLAYER_CHAR group 
0631: put_actor 18@ in_group 10@ 
wait 205
0850: AS_actor 18@ follow_actor $PLAYER_ACTOR 
0568: set_actor 18@ untargetable 1
0001: wait 205 ms 
0002: jump @Noname_147 

:Noname_147
0001: wait 0 ms 
00D6: if 
0ADC: test_cheat "dogis" 
004D: jump_if_false @Noname_173 
0ACD: show_text_highpriority "~W~DOGVA ~R~ISJUNGTAS~W~" time 1000
0002: jump @Noname_201 

:Noname_173
0001: wait 205 ms 
00D6: if 
0118: actor 18@ dead 
004D: jump_if_false @Noname_147 
0002: jump @Noname_201 

:Noname_201
0001: wait 205 ms                     
009B: destroy_actor 18@ 
0001: wait 205 ms 
0002: jump @Noname_4
 
Status
Not open for further replies.
Top