Thanks for the replies. Very interesting stuff...
I'm using:
deletevehicle (for enemy in the area when cutscene starts)
unassignVehicle
setpos getmarkerpos (for snowboards to teleport to players position)
action ["eject", vehicle
moveincargo
removeweapon
and skiptime commands in the script.
Do I need to add ?(Local Server): before the setpos commands so the command will only run from server? I'm a little confused how this works...
The script I have is supposed to start a cutscene which is just a blackout that happens when the first obj is done and when it blacksin it's supposed to be the next morning and the players find themselves in a truck with a weapons crate nearby and some snowboards that can be used to get to the next obj (Mission is on Nogojev and first obj is on the highest peak).
Here's the script:
~5
0 fadesound 0
enableradio false
TitleCut ["","BLACK OUT",5]
deletevehicle t1
deletevehicle t2
deletevehicle t3
deletevehicle t4
deletevehicle t5
deletevehicle t6
deletevehicle t7
deletevehicle t8
deletevehicle t9
deletevehicle t10
deletevehicle t11
deletevehicle t12
~5
TitleText ["The radio tower is destroyed....\nSo we'll just lay low for the night.","Plain"]
skiptime 10
~0
unassignVehicle p1
unassignVehicle p2
unassignVehicle p3
unassignVehicle p4
unassignVehicle p5
unassignVehicle p6
unassignVehicle p7
unassignVehicle p8
unassignVehicle p9
unassignVehicle p10
unassignVehicle p11
unassignVehicle p12
truck1 setpos getmarkerpos "e1"
b1 setpos getmarkerpos "s1"
b2 setpos getmarkerpos "s2"
b3 setpos getmarkerpos "s3"
b4 setpos getmarkerpos "s4"
b5 setpos getmarkerpos "s5"
b6 setpos getmarkerpos "s6"
b7 setpos getmarkerpos "s7"
b8 setpos getmarkerpos "s8"
b9 setpos getmarkerpos "s9"
b10 setpos getmarkerpos "s10"
b11 setpos getmarkerpos "s11"
b12 setpos getmarkerpos "s12"
crate_1 setpos getmarkerpos "c1"
~.05
p1 action ["eject", vehicle p1]
p2 action ["eject", vehicle p2]
p3 action ["eject", vehicle p3]
p4 action ["eject", vehicle p4]
p5 action ["eject", vehicle p5]
p6 action ["eject", vehicle p6]
p7 action ["eject", vehicle p7]
p8 action ["eject", vehicle p8]
p9 action ["eject", vehicle p9]
p10 action ["eject", vehicle p10]
p11 action ["eject", vehicle p11]
p12 action ["eject", vehicle p12]
? alive p1 : p1 moveincargo truck1
? alive p2 : p2 moveincargo truck1
? alive p3 : p3 moveincargo truck1
? alive p4 : p4 moveincargo truck1
? alive p5 : p5 moveincargo truck1
? alive p6 : p6 moveincargo truck1
? alive p7 : p7 moveincargo truck1
? alive p8 : p8 moveincargo truck1
? alive p9 : p9 moveincargo truck1
? alive p10 : p10 moveincargo truck1
? alive p11 : p11 moveincargo truck1
? alive p12 : p12 moveincargo truck1
p1 removeweapon "NVGoggles"
p2 removeweapon "NVGoggles"
p3 removeweapon "NVGoggles"
p4 removeweapon "NVGoggles"
p5 removeweapon "NVGoggles"
p6 removeweapon "NVGoggles"
p7 removeweapon "NVGoggles"
p8 removeweapon "NVGoggles"
p9 removeweapon "NVGoggles"
p10 removeweapon "NVGoggles"
p11 removeweapon "NVGoggles"
p12 removeweapon "NVGoggles"
~12
TitleCut ["Ok, Wake up you lazy bastards...","BLACK IN",15]
[[ge5,ge6,ge9,ge10,ge11,ge12],[ge3,ge4,ge7,ge8],[ge3],grp1,0,0.30] exec "ai\grouplink2.sqs"
truck1 setfuel 1
off1 action ["eject", vehicle off1]
unassignVehicle off1
0 fadesound 5
enableradio true
~10
0 fademusic 5
exit