autodispatching units

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
User avatar
carlinho
Posts: 1224
Joined: Tue Jun 08, 2004 8:23 pm

autodispatching units

Post by carlinho »

anybody knows how to autodispatch units?
Big Brother told me it could be done, so in the dday map, the computer assigned units to each team instead of manually one doing so....
is that possible to do it through script? any help appreciated

thanks!!!
http://carlinho7.tripod.com
Home of ANCIENT and CLASSICAL GREECE plugin on the works.
Image
Graydon
Posts: 1605
Joined: Sun Mar 21, 2004 5:10 pm

Re: autodispatching units

Post by Graydon »

Yea dude it's in the control script. I forget what it's called exactly but the functions should be pretty self explanatory when you locate them. Look for auto-detach or something along those lines. It'll give you a subj list to pick monsters in, and then a player index of 0 to 15 for distributing units to player X.

Edit: Naturally you'll need a TUNI for each variation of auto-distribution to gauge how many units are given to how many players in each game;

TUNI.Coop 2 player? --> CTRL.dispatch for 2 players

TUNI.Coop 3 player? -->CTRL.dispatch for 3 players

ETC.
Image
User avatar
carlinho
Posts: 1224
Joined: Tue Jun 08, 2004 8:23 pm

Re: autodispatching units

Post by carlinho »

nice!
I'll give it a try!

thanks Gray!
http://carlinho7.tripod.com
Home of ANCIENT and CLASSICAL GREECE plugin on the works.
Image
Post Reply