Posted by: joey55 - Sunday, October 25, 2009 2:22:58 AM
does somebody know how you can let the battleships and aircrftcarier attack
becuase i have made a map and they wont attack
i tried:the hunt,atack player,attack trigger area scripts and some other things
but they dont work.
can somebody help me?
Posted by: Annihilationzh - Sunday, October 25, 2009 6:03:31 AM
Use guard or attack move for the aircraft carrier and use the special power for the battleship.
Posted by: joey55 - Sunday, October 25, 2009 7:32:04 AM
well,i have tried guard area... but the do nothing,
i tried attack team...but the do nothing.why??
with the battleships i used this script,
but they only sit on their lazy ass.
why it doesn't work??(the batleships i use are the uss benders)
[ATTACH]483[/Attach] [ATTACH]485[/Attach]
Posted by: Annihilationzh - Sunday, October 25, 2009 8:12:42 AM
I stated, "guard or attack move." That means using the command button via script. Not using a guard area script.
As for your battleship code, both your scripts are [S A nd]. This means that the timer is set to 10 seconds every frame. So the timer will never reach 0 and the battleships will never fire.
I'd use these scripts:
[ns A D]
[code]*** IF ***
True.
*** THEN ***
Set timer 'bomb' to expire in 10.00 seconds.
Set Unit 'bat''s Special power 'SpecialPowerBattleshipBombardment' to 3 seconds.
Set Unit 'bat2''s Special power 'SpecialPowerBattleshipBombardment' to 3 seconds.
Enable Script 'attack'.[/code]
& [ns na D]
[code]*** IF ***
Timer 'bomb' has expired.
*** THEN ***
Unit 'bat' use Ability 'Command_BattleshipFireViaSpecialPower' at Waypoint 'b1'.
Unit 'bat2' use Ability 'Command_BattleshipFireViaSpecialPower' at Waypoint 'b2'.
Enable Script 'timer bomb'.[/code]
Posted by: joey55 - Sunday, October 25, 2009 8:33:12 AM
ok,i understand.
thanks for your help[wink]
Posted by: joey55 - Monday, October 26, 2009 7:06:17 AM
well,when i tried to make it fire at more waypoints (fire at 1 the same looks pretty silly[grin] )
it still fires on the same wapoint.
[ATTACH]486[/Attach] [ATTACH]488[/Attach]
Posted by: Annihilationzh - Monday, October 26, 2009 7:29:31 AM
A picture doesn't make a difference. The scripts you used do make a difference. So post the scripts (like I did preferably) or I can't help you.
Posted by: joey55 - Monday, October 26, 2009 8:05:26 AM
i fixed it already
wierd how 1 single letter cuases a whole script group to fail[smile]