Jump to content

[TD] Anything I'm doing with this teamtype?


Kilkakon
 Share

Recommended Posts

I'm trying to get the harvester to go around the road on an infinite loop. Is there something I am doing wrong here?

 

[TEAMTYPES]

truc=Neutral,0,0,0,0,0,7,0,0,0,1,HARV:1,5,Move:3,Move:2,Move:5,Move:4,Loop:0,0,0

 

[TRIGGERS]

TRCK=Time,Create Team,0,Neutral,truc,0

 

[uNITS]

000=Neutral,HARV,256,345,0,Return,NONE

 

I've attached the map for reference. :D

map.png.2ed1ed5afbd68aa737d29d5a9939688e.png

Link to comment
Share on other sites

Loop doesn't cause looping; it PREVENTS it. Teamtypes loop by default; Loop just specifies from which command the looping should restart, so the loop is made shorter. So don't use Loop to make a teamtype loop.

 

I suggest you read through the Teamtypes section of ccmanual.txt to get the full info on all that.

 

Why is the harvester's command set to "Return" though? Just give him "Stop". Otherwise it's possible the unit isn't recruitable for the creation of a team.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...