Hey Guys,
Im making a short cut scene showing a force taking a town and meeting a small resistance force.
in the cutscene i want to show a machine gunner firing repeatedly, as if laying cover fire. Im a little unsure how to go about this as there is no target, and even if i made one off camera the gunner will stop firing when the target is dead. I could loop a respawn script for the target, but id rather do something else, incase for dramatic effect i wish to show in which direction he's firing.
I was thinking if possible of making him fire towards a gamelogic, using a dotarget dofire script, and looping it...
Im at work at the moment and cant test it, but would the below work if mgdude = the machine gunner and gltarget = the gamelogic acting as a target
_var1 = 1
#loop
~1
_var1 = _var1 + 1
mgdude doTarget gltarget
~0.1
mgdude dofire gltarget
? _var1 < 10 : goto "loop"
If ofcourse all of the above in incorrect, please tell me how to rectify it..
P.S I met Jennifer Hawkins (Miss Universe) Yesterday and got her to sign my business card.. im still stoked