Script Set to only Trigger at OnConversationEnd also Running after Game Loads.
Posted: Sat Nov 07, 2020 11:31 pm
Good evening!
This is the event.
https://www.mediafire.com/view/i2umtuw5 ... n.png/file
This is the script:
Somehow the script triggers after a game save w/ a conversation is loaded.
https://www.mediafire.com/view/xj5zdmbf ... n.png/file
The only way to avoid the
bug is to make sure a conversation is running before loading a game save.
Does anyone think this might be a bug, or am I missing something?
This is the event.
https://www.mediafire.com/view/i2umtuw5 ... n.png/file
This is the script:
Code: Select all
public class PostConvoSceneMenuManager : MonoBehaviour
{
public void CheckSceneMenuDisplayRequest()
{
if (GlobalVariables.GetVariable(49).BooleanValue == false)
{
Menu menu;
// turn on the Scene Menu
menu = PlayerMenus.GetMenuWithName("Scene Menu");
menu.TurnOn(menu);
Debug.Log(" Tryin' to load that "+menu.name+". How's it going?");
}
}
}
https://www.mediafire.com/view/xj5zdmbf ... n.png/file
The only way to avoid the
bug is to make sure a conversation is running before loading a game save.
Does anyone think this might be a bug, or am I missing something?