OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: max_killer_payne on 30 Apr 2003, 20:56:19

Title: How to stop player control
Post by: max_killer_payne on 30 Apr 2003, 20:56:19
Yeh, im making a really cinematic mission at the moment. In the middle of a mission, how can you. Stop player control and make sure he does what hes told to in a cutscene. Help?
Title: Re:How to stop player control
Post by: CrashnBurn on 30 Apr 2003, 22:40:07
Player loses control in a cutscene already. If you want the player to perform actions during a cutscene, you need to move the player to a safe location using a marker pos or similar, and use an AI unit to do the actions simulating the player. When its done, move the AI unit away somewhere and move the player back. There's most likely other ways, but that's how I'd do it.
Title: Re:How to stop player control
Post by: nEO iNC on 07 May 2003, 10:29:53
You might also try the "disableUserInput <true/false>" command to stop the player messin' 'round... Like C&B says though, you'd wanna get the player unit out the way too and re-create the "player" with an AI... N3m3515  :)