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 »AIs using teleporters; scripting help

Author Topic: AIs using teleporters; scripting help (1 messages, Page 1 of 1)
Moderators: Dennis

game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Aug 25, 2012 07:13 AM    Msg. 1 of 1       
I'm trying to script five AI encounters (one AI each) to use teleporters in ratrace.
So far, I've named the teleporters: Teleporter1a, Teleporter1b, Teleporter2a and Teleporter2b

I'm scripting it with trigger volumes named after the teleporter they are near.

So far, this is the script but I have no idea if this will work.

(script continuous player1teleporter1a
(if
(and (volume_test_objects "Teleporter1a" (ai_actors "Player1/Player1")) ((>= real_random_range 0 1) 0.5)
(ai_command_list Player1 Teleporter1a)
)

The rest should be copy-paste, right?

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 3:41 AM 94 ms.
A Halo Maps Website