Con units on Patrol

Con units on Patrol

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
am0kk
Posts: 14
Joined: 11 Jul 2006, 07:51

Con units on Patrol

Post by am0kk »

Hi all,

Long time player first poster :D..

Just been looking at the source and just want to confirm something.

If a con unit is on patrol, it will only repair and not help with construction unless its move state is set to roam?

I can't test this ingame so I was just wondering if anyelse knew?


If it is, should the wiki be updated, as it doesnt mention this.\

** Update- Setting con units to patrol with a move state of Roam does make them help with construction ^_^
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

Con units should always help building construction. They should only help build mobile units if set to roam. The difference between the two is bool unit::mobility, although I am not sure how that translates from unit files. Also, the code I was reading is the current svn code, which may not be the same as the release version (but I'm rather sure that section had not changed).

I agree, this should be updated in the wiki.
User avatar
Pocus
Posts: 73
Joined: 14 Apr 2006, 09:40

Post by Pocus »

very cool feature. I asked for that in the lobby some weeks ago and nobody knew this one too.

Should definitively be in the wiki yes.
Post Reply

Return to “General Discussion”