A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »Could anyone help with this AI follow script?

Author Topic: Could anyone help with this AI follow script? (1 messages, Page 1 of 1)
Moderators: Dennis

Dark Ninja
Joined: May 26, 2008

The internet shows how stupid people are.


Posted: Jul 31, 2008 04:35 PM    Msg. 1 of 1       
(if (unit_get_current_flashlight_state (unit (list_get (players) 0))) true) (ai_follow_target_disable marines)

(if (unit_get_current_flashlight_state (unit (list_get (players) 0))) false) (ai_follow_target_players marines)

This is to make it so when the flashlight is on, the ai don't follow, and when it's off, they do. But it doesn't work, and I've tried
 (ai_follow_target_players marines)
(ai_follow_distance 5)

and that doesn't work. The AI have auto migration checked.
Edited by Dark Ninja on Jul 31, 2008 at 04:37 PM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 4:31 PM 109 ms.
A Halo Maps Website