papy.rabbit.08
19 years ago
Hello, i've been trying the whole day to create a map, with units on it like tanks, and soldiers that the player already owns. I would like that the player could use these units, like if he had made them while playing.
So i put units on the map with Place objects, and in the options, I set theirs Team as teamSkirmishAmerika... I enable the checkboxes: Enabled, Targetable, Powered and Selectable.
Before that, in the Edit tab, i went on Edit Player list, I removed all previous player, and I clicked on Add Skirmish Players.
So what is missing??

Because when I play, i can select them, but I can not move then, and my soldiers that I create during the game can even kill them :S So what is the problem? Please some help, I've been looking for a solution for the whole day...

PS: I'm sorry for my English

Nobody has an answer?
Sponsor
renaissance
19 years ago
http://www.cncgeneralsworld.com/tutorials/ 

I'll also make your topic a little more descriptive.
UserPostedImage
fleetatks
19 years ago
To make A unit Transfered to a player in the begginning of the game or for a different reason (ex: enter area, time expired...) First start by placing the units/buildings you want on the map and give them a name (ex: Unit001.) Give each of the units/building their own unique name and then go into scripts.

For the condition you can do what you want, but for this I'll put it if you wanted it at the begginning of the game.

IF
'True'

THEN
(Player->Transfer->Transfer Unit to player) 'Unit "Unit001" is transfered to the control of player "(LocalPlayer for Player1/host, Teamplayerskirmish____ for that specific AI)"'

Note that having 2 or more of the same skirmish player will result in a crash, and also note that you Can't give units in the form of player1, player2, ect...

Another way of doing this is in the form of if you wanted to make a single player mission. Click the Build list tool and inside the Build list tool options Select which building you want to create for the player. After that Select the Player you wish to give the buildings to. Place the building and then you can select it from the object property box to change its options.

You can choose weather or not the AI will rebuild it and weather or not it starts built (ex: if you don't want a superweapon to just start on the map, but then later you want the AI to create it.)

If you only see the neutral player and can't place any buildings then you should go to edit->Edit player list and create skirmish players or create your own players. If when you exit out of the build list tool you don't see your building, it's because you didn't select "Structure starts built."

Email me if you ever need help (edited signature November 6th, 2014)
papy.rabbit.08
19 years ago