
goldkilla88
Joined: Mar 22, 2010
Rip and tear!
|
Posted: Apr 28, 2012 06:25 PM

Msg. 1 of 4
Would it be possible to make a script where AI will spawn only when you are not looking at the spawn point? I want something kinda like Gears of War's Horde mode. If you stare one spawn area for the Locust, they will spawn at another out of the Gears current Line-Of-Sight and charge them. Could someone make that for me?
I would be very grateful. Edited by goldkilla88 on Apr 28, 2012 at 06:25 PM
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Apr 28, 2012 09:58 PM

Msg. 2 of 4
You could use this command:
(objects_can_see_flag <object_list> <cutscene_flag> <real>)
All you'd have to do is place a cutscene flag on the spawn point.
So:
(objects_can_see_flag (players) spawn_area1 90)
you'd probably have to replace with the 90 with the actual amount of degrees the player camera sees. Havent tested this script but it should do the trick
|

goldkilla88
Joined: Mar 22, 2010
Rip and tear!
|
Posted: May 1, 2012 06:07 PM

Msg. 3 of 4
Thanks, i'll test it later.
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: May 2, 2012 03:25 AM

Msg. 4 of 4
ok. I post now so can you bump it later
|