Doesn't Export Characters when called
Dragonfolk2000
Member Posts: 390
I'm almost done my module! I've been doing extensive play testing, including in multiplayer! But there's one function that doesn't work and I haven't been able to figure out why.
At the end of the module is a door. Once you've received your reward for defeating the final villain you can go through this door. It's supposed to export all PC characters and then end the module. But it doesn't do that. It just ends the module. I had put in the ActionWait(5.0) because I thought it was just ending too quickly. It works in single player (despite what the documentation says). Does anyone have any suggestions?
At the end of the module is a door. Once you've received your reward for defeating the final villain you can go through this door. It's supposed to export all PC characters and then end the module. But it doesn't do that. It just ends the module. I had put in the ActionWait(5.0) because I thought it was just ending too quickly. It works in single player (despite what the documentation says). Does anyone have any suggestions?
void main() { int finalEllis = GetLocalInt(GetModule(),"ratquest"); if(finalEllis <= 2) { ExportAllCharacters(); ActionWait(5.0); EndGame(""); } else { ActionSpeakString("You need to talk to Captain Ellis."); } }
0
Comments
In multiplayer, the save is made to the servervault and it overwrites the last saved character with the latest version. For ExportAllCharacters in multiplayer, this is done for every PC currently logged in. Check that you're looking in the correct place, and that you're checking the date and time when the file was written to see whether or not it's the latest version.