How would i go about making a unit have a burst gun attack (hopefully passive)
as in 3 shots, wait, 3 shots, wait as opposed to shot, shot, shot, shot.
EDIT:
thanks for all the help, really appreciated.[/sarcasim] Follow up questions:
1. anyway to momentarily stop a unit from attacking, yet not altering it in ANY other way?
2. how does this sound [keep in mind it's a temp for units n variables]
Red was the only thought i had, now i shall be screwing with it until i get it working, any help would make it faster and will b appreciated
as in 3 shots, wait, 3 shots, wait as opposed to shot, shot, shot, shot.
EDIT:
thanks for all the help, really appreciated.[/sarcasim] Follow up questions:
1. anyway to momentarily stop a unit from attacking, yet not altering it in ANY other way?
2. how does this sound [keep in mind it's a temp for units n variables]
Code:
shoot
Events
Unit - A unit Is attacked
Conditions
(Attacking unit) Equal to burst shooter 0000 <gen>
Actions
Set shootnum = (shootnum + 1)
Game - Display to (All players) the text: (String(shootnum))
Code:
shootpause
Events
Time - Every 0.10 seconds of game time
Conditions
shootnum Equal to 3
Actions
Set shootnum = 0
[COLOR="Red"]Unit - Set burst shooter 0000 <gen> acquisition range to 0.00[/COLOR]
Wait 1.00 seconds
[COLOR="Red"]Unit - Set burst shooter 0000 <gen> acquisition range to 600.00[/COLOR]