So you still can't play Zero Hour? I thought you had resolved that issue some time ago.
{Player}Spawn named unit "???????" of type "??????" under player "?????????" control at waypoint "????????"
You can use lines like that. The problem, as least for zero hour is that you can't spawn directly to local player. You need to spawn to a team which would be teamcivilian. AND in order to tranfer control of a unit to local player it has to be a named unit.
Here's a quick rundown of how to do it for a five tank team.
*** IF ***
True.
*** THEN ***
Enable Script 'CreateTank1'.
(CreateTank1)
*** IF ***
Unit 'Tank1' exists and is alive.
*** THEN ***
Set timer 'TimerTank2' to expire in 10.00 seconds.
Enable Script 'ActivateTank2'.
*** ELSE ***
Spawn Unit 'Tank1' of type 'AmericaTankCrusader' on Team 'teamPlyrCivilian' at waypoint Waypoint 'Spawn1'
Set timer 'TimerTank2' to expire in 10.00 seconds.
Enable Script 'ActivateTank2'.
(ActivateTank2)
*** IF ***
Timer 'TimerTank2' has expired.
*** THEN ***
Enable Script 'CreateTank2'.
*********
And so on through five tank sets.
*********
Then just tranfer these units to player with another script AND Hide the special message that come up.
*** IF ***
True.
*** THEN ***
Unit 'Tank1' is transferred to the command of Player '
'
Unit 'Tank2' is transferred to the command of Player ''
Unit 'Tank3' is transferred to the command of Player ''
Unit 'Tank4' is transferred to the command of Player ''
Unit 'Tank5' is transferred to the command of Player ''
Disables special power countdown display.
******
I'm not familiar with "Generals" and its World Builder. Hopfully you can do something like this.
My main focus has been on making AI harder to beat, not giving help to local player but it was a nice change to make those scripts.
Hope you get Zero Hour working!!!!Edited by user
17 years ago |
Reason: Not specified