Posted by: SUPER-G - Monday, September 17, 2012 4:57:01 PM
I am making an Aod style map, exept with 4 spawn areas (each with 5 spawn points), the main player is on the same ground as the enemy, the enemy doesn't go down a path to the end, instead they directly attack the player. The enemy are GLA scuicide bombers (in the map they are called "zombies").
the problem is that i dont want to make the teams follow a line into the map, i want them to attack the main player immediatly when they spawn.
i have tried these methods:
1. making the sub-teams follow a line into the "Kill_Zone" and attack or guard from there.
didnt work because teams are smaller and spawn at 5 spawnpoints, only 1/5 of the team followed the line. there were still 4/5 standing there, in the darkness.
2. make them guard "Kill_Zone".
did absolutly nothing.
3. attack everything in "Kill_Zone".
much of the same...nothing.
is there a way to make the enemy attack everything in an area, or the whole map in general?
Posted by: Drummin - Monday, September 17, 2012 5:21:03 PM
Make a `hunt` subroutine script for all teams setting S A nd
[code=as3]*** IF ***
True.
*** THEN ***
Team '' begins hunting.[/code]
Put this script in your zombie player's folder.
In the team section, select this script for On Create team behavior
Posted by: SUPER-G - Monday, September 17, 2012 5:49:33 PM
er, the script doesnt show up. it only show .
Posted by: i^love^mixery - Monday, September 17, 2012 6:39:07 PM
then you didnt make it a subroutine scipt...
Posted by: SUPER-G - Monday, September 17, 2012 6:43:48 PM
i named the script S A nd, is that how you do it?
Posted by: Drummin - Monday, September 17, 2012 7:37:03 PM
Under script properties/script flags there are three check boxes. In general, when we talk about script settings, i.e. S A nd we are talking about these settings under the flags and how the script is shown when it's done. [S A nd][E N H]hunt. Just check the [u]Subroutine[/u] and [u]Active[/u] check boxes and un-check the [u]Deactivate upon success[/u] box.
Posted by: SUPER-G - Monday, September 17, 2012 9:52:49 PM
AHA! it works now!
thanks again Drummin!
this is the last thing i will need help on for a while, i'll give you a break!
[stuck_out_tongue]