Hi there people, new here. Just wondering if u pro's can help wit this
script for ArmA.. dont seem to work for me..
Basically, these guys are on patrol round a city.. fair enough, this is
all done Via waypoints.. but i have 200+ enemy units coming on the
way to them, and i dont wanna fill the map with waypoints i cant see..
so i thought about using scripts to make the way points, problem is..
they dont seem to work.
Here
; *****************************************************
; ** Defend Position **********************************
; *****************************************************
playsound "alarm"
~20
Officer sideChat "Theyre' here! Everyone up the front line and defend!."
~10
Officer sideChat "Do not let them pass the fortresses otherwise we will have to retreat!"
~5
deletewaypoint [grp4, 2]
deletewaypoint [grp5, 2]
deletewaypoint [grp6, 2]
deletewaypoint [grp7, 2]
deletewaypoint [grp8, 4]
~0.1
deletewaypoint [grp4, 1]
deletewaypoint [grp5, 1]
deletewaypoint [grp6, 1]
deletewaypoint [grp7, 1]
deletewaypoint [grp8, 3]
~0.1
deletewaypoint [grp4, 0]
deletewaypoint [grp5, 0]
deletewaypoint [grp6, 0]
deletewaypoint [grp7, 0]
deletewaypoint [grp8, 2]
~0.1
deletewaypoint [grp8, 1]
~0.1
deletewaypoint [grp8, 0]
~10
grp4 addWaypoint [position ammob, 5]
grp5 addWaypoint [position ammob, 5]
grp6 addWaypoint [position ammob, 5]
grp7 addWaypoint [position ammob, 5]
grp8 addWaypoint [position ammob, 5]
~10
Officer sideChat "Ok, everyone in position? Good. Now try your best not to let them through!"
~10
Officer sideChat "There have been report's via satelite that there are more than 200 unit's on their way"
~10
Officer sideChat "Good luck, out"
"ammob" is the ammo crate the groups (grp4,grp5,grp6,grp7,grp8) need's to go too.. i cant find any other
way of making the group go to a position without having object. All the grp's have a cycle at waypoint
number 2 except grp8 (tanks) their cycle waypoint is at number 4. Basically i wanna stop this cycle so they
move to "ammob" and defend the position.
I will also create another script where the remaining live unit's will fall back and go to the base to protect that..
where the enemy is heading.. any suggestion on this? or will the addwaypoint work once the enemy has pass
into the town (the fallback is scripted too)
I hope someone can help, i did read the commands in the WIKI.. but they dont fully explain everything clearly,
and other possible ways to use a command.
I am open for critiscm or woteva u wanna give me.. maybe other ways of making this script without much hard
work. Thxs for help