IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Shellmap Making
GDIZOCOM
post 5 Jul 2009, 12:18
Post #1


Level 17.4
Group Icon

Group: Members
Posts: 763
Joined: 12 June 2009
Member No.: 131
Immaturity Incarnate



I'm really confused where to post this.....
I created a spawn script of GLA Vehicles..
now..here are my scripts
script 1
*** IF ***
True.
*** THEN ***
Spawn an instance of Team 'Toxins' at Waypoint 'GLA Main Attack Spawn'.
Have Team 'Toxins' move in panic along Waypoint Path 'GLA Main Attack Path'
script 2
*** IF ***
Team 'Toxins' has been destroyed.
*** THEN ***
Enable Script 'Script 241'.
I don't know how to make it repeat forever....any ideas?


--------------------


Go to the top of the page
 
+Quote Post
accomplice
post 5 Jul 2009, 12:44
Post #2



Group Icon

Group: Members
Posts: 74
Joined: 15 June 2009
Member No.: 166



I suggest combining the use of script and the team tool.

Write a script that is a subroutine, always active and does not deactivate:
CODE
[S A nd]Tractors destroyed
*** IF ***
True
*** THEN ***
Enable 'Script 1'

Now, go to the team window, switch to the behavior tab, and select this script in the drop down box for "on destroyed [...]%", whereas the ... should be 100%

This will enable your spawn script each time the team gets destroyed

Hm, or even easier.
CODE
script 2
*** IF ***
Team 'Toxins' has been destroyed.
*** THEN ***
Enable Script 'Script 241'.
Enable Script 'Script 1'


And script 1 enables script 2. With both enabling each other, it's like a loop.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 29 March 2024 - 2:09