Darko
  • Darko
  • 50.25% (Neutral)
  • Private Topic Starter
3 years ago
I wanted to make an infinitely spawning team where if it is destroyed it gets reincarnated again and again. I got the 1st script to work but the repeating process is not doing well, I'm not really a map maker... more of a map editor and I chose contra's GC Assault general map as a testing ground.
Here's the entire script.

The 1st script [ns A D] is to enable the spawning

*** IF ***
Player 'ThePlayer' has been attacked by Player 'AIOpponent'.
*** THEN ***
Spawn an instance of Team 'PR1' at Waypoint 'PR1 Spawn'.
Have Team 'PR1' follow Waypoint Path 'PR 1 Attack Path' , as a team is TRUE
Team 'PR1' begins hunting.



2nd script [ns A nd] is to detect if the team is destroyed

*** IF ***
Team 'PR1' has been destroyed.
*** THEN ***
Run Subroutine 'PR 1 Repeat'.



3rd script [S A D] is to repeat the process

*** IF ***
True.
*** THEN ***
Spawn an instance of Team 'PR1' at Waypoint 'PR1 Spawn'.
Have Team 'PR1' follow Waypoint Path 'PR 1 Attack Path' , as a team is TRUE
Team 'PR1' begins hunting.



These scripts are controlled by a newly made ai and a newly made team, they shouldn't be broken by the other scripts in the map
Sponsor
lee0307
3 years ago
hi could you possibly help me make a script for unlimited money creates