presiadof
  • presiadof
  • 54.5% (Neutral)
  • Private Topic Starter
16 years ago
hello i would like to know how to add a item to the player i choose. when online and choose a map and have rocket soldiers their ready to be selected. i tried making my own script but this is what i do for a aod map defend the castle. i got to scripts the new then transfer then transfer to specific player then i add unit tankhunter is transfered to the command of player '1' i push ok, ok, ok then save and nothing. it seems that i need to make waypoint 1 as player 1,cause changing player_1_start way point to another name will not give a way point for any online player.
Sponsor
Drummin
16 years ago
You may be closer than you think to getting this to work. Place the units you wish belonging to PlyrCivilian, Name each unit then make your transfer script to transfer the named unit to 'player0'. The name 'player0' refers to the first room or slot when starting the game. This would be you if you're playing your own map. 'player1' would be the second slot or room. See this tutorial  for help. If you need more help let us know.
presiadof
  • presiadof
  • 54.5% (Neutral)
  • Private Topic Starter
16 years ago
here take a look at the small vid i made to show u that it doesn't work.



i dont know why it does not work. if you can do it for me please then i can learn from what u did and try it my self.

file below virus free



http://www.filefront.com/14222185/aod%20-%20defend%20the%20castle.rar 

Drummin
16 years ago
There was an obvious thing in that you were transferring the unit to player "0" instead of "player0". However that wasn't the only issue. At first I thought it was because the unit wasn't within the Active Border because you had so many borders going. I removed all those extra borders and adjusted things a bit without success. I'm not sure what was up with that old soldier. Maybe he'd been through too much already and didn't want to fight anymore. 😉 In any case, I removed him and added a fresh unit and it worked fine. Let me know if this gives you anymore problems.   aod - defend the castle v15.zip (30kb) downloaded 6 time(s).
krit
  • krit
  • 100% (Exalted)
  • Commander in Chief
16 years ago

I'm not sure what was up with that old soldier. Maybe he'd been through too much already and didn't want to fight anymore. 😉 In any case, I removed him and added a fresh unit and it worked fine.

Drummin wrote:



He was unpowered, as in the "Powered" checkbox was unticked.
UserPostedImage 
Drummin
16 years ago
Ah very good Krit.
presiadof
  • presiadof
  • 54.5% (Neutral)
  • Private Topic Starter
16 years ago
ok i see how it works and much thanx. is it possible to do mass amount of units at the same time. cause naming one by one will take awhile.