I just need some help iv wrote a set of scripts for a shooting range and I have 2 problems. 1 there really long winded because in a newbie to scripting and. 2 iv added an add action command to a computer object, so I can turn the range on and off but the off wont work the targets keep replacing.
Iv used an inviserable target object infront of the Target E, the shooters shoot at the invisable targets knocking over the TargetE, when all targets have been knocked over they reswarm agian.
Invisable targets named target 1 to 9 and target 1_1 to 1_9 and targets 2_1 to 2_9
the target E Objects Are named t1 to 9 and t1_1 to t1_9 and t2_1 to t2_9
iv used a triggers over each target to disable the invisable targets once shot
Condition field= !(alive t1_6)
activation field= target1_6 setDammage 1
this is what my scripts do
hereford range.sqs - sets the weapon loadouts for the shooters and spotters and knows about commands so they will shoot the invisable targets
hereford range target loop.sqs - loops with a 60 seconds delay checking when a target is knocked over then exacutes hereford range targets 1.sqs
hereford range targets 1.sqs - resets all targets with no delay
hereford range off.sqs - this is meant to turn off all the scripts when range off is pressed on the computer object
here are the scripts any help with these is much appreciated. thanks