[HOWTO] How To: Handle Invector Respawns With Save System

Announcements, support questions, and discussion for Quest Machine.
Post Reply
User avatar
Tony Li
Posts: 20685
Joined: Thu Jul 18, 2013 1:27 pm

[HOWTO] How To: Handle Invector Respawns With Save System

Post by Tony Li »

If you're using Invector with Quest Machine or the Dialogue System, then to handle respawns you'll have to modify Invector's vGameController.cs script. Its OnCharacterDead method is hard-coded to respawn the player. Comment all that code out, and (if you're using the Dialogue System's Menu Framework) open the menu framework's load game panel instead. Or load the last checkpoint save. Or add a new panel that's a copy of the load game panel but with a "return to main menu" button added.
Post Reply