Yo all, i need help so bad... I have created a cutscene during one of my missions.
; *****************************************************
; ** Operation Flashpoint Script File
; *****************************************************
enableradio false
_plyr = _this select 0
_fake = _this select 1
_ldr = _this select 2
_grp = _this select 3
_guard = _this select 4
_man1 = _this select 5
_man2 = _this select 6
_ldr allowfleeing 0
[_fake] join _ldr
_ldr setbehaviour "careless"
_fake setbehaviour "careless"
_plyr setpos getpos TRIG2
_fake setpos getpos TRIG
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal","back"]
_cam camsettarget _ldr
_cam camsetrelpos [0,1.5,1.5]
_cam camcommit 0
@camcommitted _cam
_ldr domove getmarkerpos "fence"
~6
_cam camsettarget fence
_cam camsetrelpos [-4,0,1.5]
_cam camcommit 5
@camcommitted _cam
_ldr dowatch Guard
_ldr playmove "EffectStandSalute"
_guard playmove "EffectStandSalute"
~3
_ldr switchmove "EffectStandSaluteEnd"
_guard switchmove "EffectStandSaluteEnd"
~2
_cam camsettarget _guard
_cam camsetrelpos [0,0.5,1.5]
_cam camcommit 0.1
@camcommitted _cam
~2
_guard setmimic "Ironic"
titletext ["Gate Guard: Hello, who are you? And what can I do for you?","PLAIN",2]
_guard setmimic "Cynic"
~0.5
_guard setmimic "Ironic"
~0.5
_guard setmimic "Cynic"
~0.5
_guard setmimic "Ironic"
~0.5
_guard setmimic "Cynic"
~0.5
_guard setmimic "Ironic"
~0.5
_guard setmimic "Cynic"
~0.5
_guard setmimic "Ironic"
~0.5
_guard setmimic "Cynic"
~5
_cam camsettarget _ldr
_cam camsetrelpos [0.5,0.9,1.5]
_cam camcommit 0.5
@camcommitted _cam
_ldr setmimic "Ironic"
titletext ["Sgt Wood: Hi, my name is Sergeant Wood and i have buisiness here, listen to what the colonel had to say about this \n he also mentioned that if you do not listen to this, you will be put into court martial","PLAIN",2]
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~5
_ldr playmove "EffectStandTalk"
~4
_ldr playmove "EffectStand"
letter setpos [(getpos fence select 0),(getpos fence select 1), 0.8]
~5
_cam camsettarget letter
_cam camcommit 3
@camcommitted _cam
~4
titletext ["Colonel on Radio: Hello, this is Colonel Tom speaking to the guard in charge of Aquomat Base in Normandie. I give Sgt Woo...","PLAIN",2]
~5
titlecut ["","BLACK OUT",3]
_fake domove getpos _ldr
_man1 domove getpos _ldr
_man2 domove getpos _ldr
~7
titletext [":5 hours passed:","PLAIN DOWN",2]
skiptime 5
_ldr playmove ""
_cam camsettarget _ldr
_cam camsetrelpos [0.5,0.9,1.5]
_cam camcommit 0
deletevehicle letter
_ldr setmimic "Agresive"
~3
titlecut ["","BLACK IN",3]
~3
titletext ["Sgt Wood: So you see, i am here to help you, so can you please let us in?","PLAIN",3]
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~5
_cam camsettarget _guard
_cam camcommit 4
@camcommitted _cam
titletext ["Gate Guard: Sure, let me just go and open the gate Sgt Wood","PLAIN",3]
_guard setmimic "Cynic"
~0.5
_guard setmimic "Ironic"
~0.5
_guard setmimic "Cynic"
~0.5
_guard setmimic "Ironic"
~0.5
_guard setmimic "Cynic"
~0.5
_guard setmimic "Ironic"
~0.5
_guard setmimic "Cynic"
~0.5
_guard setmimic "Ironic"
~0.5
_guard setmimic "Cynic"
~5
_guard dowatch gate
_guard playmove "FXShow4"
wire setdir 180
~5
_cam camsettarget _ldr
_cam camsetrelpos [-5,4,2]
_cam camcommit 4
@camcommitted _cam
_ldr domove getpos wire
~4
_ldr dowatch _guard
titletext ["Sgt Wood: Thank you very much sir, hope you get a promotion later for your hard work.","PLAIN",3]
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~4
_ldr dowatch _fake
titletext ["Sgt Wood: Everyone come on in and get settled down. And you Billy, follow me, we need to talk.","PLAIN",3]
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~0.5
_ldr setmimic "Ironic"
~0.5
_ldr setmimic "Cynic"
~5
_cam camsettarget _fake
_cam camsetrelpos [0,1.5,2]
_cam camcommit 2
@camcommitted _cam
titletext ["Billy: Yes sir!","PLAIN",3]
[_ldr,_fake] join null
[_grp] domove getmarkerpos "m"
_man1 domove getpos m
~4
_cam camsettarget _ldr
_cam camcommit 3
@camcommitted _cam
titletext ["Sgt Wood: right Billy, here are some mines for you, i want you to plant them on the road \n somewhere over the bridge. \n GET GUNG NOW!","PLAIN",3]
~4
_cam camsettarget _fake
_cam camsetrelpos [0,5,10]
_cam camcommit 3
@camcommitted _cam
_plyr setpos getpos _fake
_plyr setbehaviour "careless"
~0.1
_fake setpos getpos TRIG2
~3
_cam camsetrelpos [0,1.5,0.1]
_cam camcommit 2
@camcommitted _cam
_cam cameraeffect ["TERMINATE","BACK"]
_cam camdestroy "camera"
_plyr domove getpos mine
_plyr addmagazine "Mine"
_plyr addmagazine "Mine"
exit
So there is my cutscene. Ok, now look at the very last part of t
_plyr addmagazine "Mine"
One problem, this dont work.... i even tried this with _plyr addweapon "Mine"
so can someone help me figure out why a mine is not being added to the player.
Thanks in advance.