paddy086
  • paddy086
  • 53% (Neutral)
  • Private Topic Starter
16 years ago
Hello i have palyed a few games user maps now and have made a few my self. one think i need to find out about is. on some single player maps i have played you send a thank up to a area and in side a fence there is a chinese black lotus and she joines your team as soon as you send a tank near her how can i do that in my maps
Sponsor
Drummin
16 years ago
Use what is called "room scripting", where you identify the players by what slot or room they are in. This tutorial  will help and shows examples. Basically the script could be IF unitX is discovered by 'player0', THEN Transfer unitX to 'player0'. You would copy this script and edit the player until you have eight copies for players, 'player0' through 'player7'.

Besides transferring the unit each script would also need to disable the other seven scripts so this transfer is only made for the first player to find unitX.
paddy086
  • paddy086
  • 53% (Neutral)
  • Private Topic Starter
16 years ago
thanks for your help il give that a shot