Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Darko Offline
#1 Posted : Wednesday, October 26, 2022 1:50:16 AM(UTC)
Darko
Private
Joined: 10/26/2022(UTC)
Posts: 1

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

Quote:
*** 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

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


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

Quote:
*** 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
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.6.1 | YAF © 2003-2022, Yet Another Forum.NET
This page was generated in 0.255 seconds.