OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: MajorHurt on 15 May 2008, 23:20:19

Title: Cutscene help...
Post by: MajorHurt on 15 May 2008, 23:20:19
I'm trying to make a cutscene where two soldiers are executing two soldiers (or better yet two civilians).

I've tried a few different things, but every time I trigger the moment of execution in the script my executioners drop to the prone position before shooting, which looks silly.

Any suggestions?

Thanks,

MH
Title: Re: Cutscene help...
Post by: Cheetah on 15 May 2008, 23:33:38
Code: [Select]
civilian1 setBehaviour "CARELESS";
civilian1 disableAI "AUTO";

Something like that could help? Not sure if it completely does the trick..

Title: Re: Cutscene help...
Post by: Gcfungus on 15 May 2008, 23:38:04
I take it you know how to use dotarget and dofire.
To stop them dropping, just simply add:
Code: [Select]
this setunitpos "up"to every unit's init bar.

This may not be perfect, but it's the simlpest answer and should work. Let us know.
 :) :good:
Title: Re: Cutscene help...
Post by: schuler on 16 May 2008, 03:39:18
Gcfungus i right but set the executing soilder to 'careless' too
Title: Re: Cutscene help...
Post by: MajorHurt on 16 May 2008, 23:55:32
After much trial and error, with all the aforementioned commands, I was able to get a decent execution cutscene.  :D

Thanks for the wisdom guys.   :good: