
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?
|