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 Technical / Map Design »Need AI Migration Script

Author Topic: Need AI Migration Script (3 messages, Page 1 of 1)
Moderators: Dennis

Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: Apr 18, 2010 08:32 AM    Msg. 1 of 3       
Need a script for an AI encounter in one particular location to automatically migrate to another encounter after a certain period of time with no activity.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Apr 18, 2010 10:59 AM    Msg. 2 of 3       

(global short thirtynine 0)

(script continuous increment
(if
(<= (ai_status [AI ENCOUNTER]) 2)
(begin
(set thirtynine (+ thirtynine 1))
(sleep 30)
)
(begin
(set thirtynine 0)
)
)
)

(script startup migration
(sleep_until (= thirtynine 120) 15)
(ai_migrate [AI ENCOUNTER] [MIGRATE TO ENCOUNTER])
)


Personally, I like how the AP Computer Science test has such interesting ways to solve simple problems. I think it's influencing me. This script waits for two minutes of inactivity, before migrating the encounter to another one.


Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: Apr 18, 2010 05:55 PM    Msg. 3 of 3       
I can see that you are definitely an AP student. My daughter is in several AP classes this year.

 

 
Previous Older Thread    Next newer Thread







Time: Sat January 21, 2023 12:54 AM 94 ms.
A Halo Maps Website