Private Joined: 6/20/2017(UTC) Posts: 2
|
I have set laser defenses near the Player_1_start. But when I launch a skirmsch against CPU, the laser defense doesn't belong to me.
What is the procedure to get defenses and tank when I start the game in skirmisch?
Thanks
|
|
|
|
General Joined: 8/2/2008(UTC) Posts: 1,779 Thanks: 26 times Was thanked: 475 time(s) in 331 post(s)
|
This is single player, I presume? Click on the units and under object properties, give them all names. I'm going with Laser1, Laser2, etc for this example. Then Click -> Edit -> Scripts... -> PlyrCivilian -> New Script... -> Actions if true. -> Delete New... -> Player -> Transfer -> Transfer a specific unit to the control of a player. -> Unit '???' -> (Type Laser1) -> OK -> Player '???' -> (Type Player0) -> OK Then use Copy and Edit until you have something that looks similar to this: Code: Unit 'Laser1' is transferred to the command of Player 'player0'
Unit 'Laser2' is transferred to the command of Player 'player0'
Unit 'Laser3' is transferred to the command of Player 'player0'
Unit 'Laser4' is transferred to the command of Player 'player0'
You should have one line of code for each defence. Then just repeadly click OK until you're out of the scripts menu and back on the map. |
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.
I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me. |
|
|
|
Private Joined: 6/20/2017(UTC) Posts: 2
|
Thank you very much! That work!!! "Player0" must be <local player> Thank you again!
|
|
|
|
Major Joined: 3/22/2017(UTC) Posts: 278 Location: Some where on Earth
Thanks: 123 times Was thanked: 69 time(s) in 59 post(s)
|
Or You can Add player0 in your Edit Player List in World builder . Then Anything in team player0 must be under your Control . No Scripts needed
|
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel Static : Launch Delayed Reason : Uncool Terrain - Old Logic in use - Lack of Performance Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300% |
|
|
|
Major Joined: 2/21/2015(UTC) Posts: 386 Thanks: 80 times Was thanked: 132 time(s) in 96 post(s)
|
Originally Posted by: Unknown Editor Or You can Add player0 in your Edit Player List in World builder . Then Anything in team player0 must be under your Control . No Scripts needed
player0 to 7 don't need to be added in Player List. player0 corresponds to the first player in the lobby (host) player1 corresponds to the second player in the lobby player2 corresponds to the third player in the lobby and so on... |
|
|
|
|
Major Joined: 3/22/2017(UTC) Posts: 278 Location: Some where on Earth
Thanks: 123 times Was thanked: 69 time(s) in 59 post(s)
|
Originally Posted by: SkyMix_RMT Originally Posted by: Unknown Editor Or You can Add player0 in your Edit Player List in World builder . Then Anything in team player0 must be under your Control . No Scripts needed
player0 to 7 don't need to be added in Player List. player0 corresponds to the first player in the lobby (host) player1 corresponds to the second player in the lobby player2 corresponds to the third player in the lobby and so on... And so as You Said player0 is the First Player ; Everything Will Belong to FFWorld1986 Other hand he is Playing Online and someone Else hosts his Map . This is Actually a Shortcut When There are many Units Which must Belong to you by Scripts and Many Names . But If You Want To Do it Only For 2 or 3 Units , easily Use Scripts . Good Luck |
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel Static : Launch Delayed Reason : Uncool Terrain - Old Logic in use - Lack of Performance Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300% |
|
|
|
Major Joined: 2/21/2015(UTC) Posts: 386 Thanks: 80 times Was thanked: 132 time(s) in 96 post(s)
|
Ohhh, I see now, that's actually very smart I didn't know you could do that. |
|
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.