Page 1 of 1

Script Help (again)

Posted: Wed Jun 27, 2007 10:09 am
by Andrew_b
ok i need help with this script first of all.

Code: Select all

(global boolean is_server false)

(script startup load_settings 
	(sleep_until (volume_test_objects spawn_ai (players))15)
               (begin
                (set is_server true)
         (object_create_anew 1)
         (object_create_anew 2)
                       )
               )
) 
i want the player to walk through a trigger (trigger already spawns ai) and the game creates the vehicles (normal names g_warthog, and mwarthog but i wrote in the name slot 1, and 2. so in sapien they show up as 1 g_warthog, 2 mwarthog.)

and i want the spawn ai trigger only to work for race...

how do i make certain vehicles spawn in race? is this the same method?

thanks

-Andrew_b