Author Topic: [Runtime Plugin] OK to call engine->PollSystem() from AGSE_SAVEGAME handler?  (Read 292 times)  Share 

If I am doing a lot of processing in an AGSE_SAVEGAME event handler, potentially enough to cause sound skipping, is it safe to call the PollSystem() method to avoid the sound skip?

Calin Leafshade

  • AGS Project Admins
  • Long live King Cat!
    • I can help with AGS tutoring
    •  
    • I can help with voice acting
    •  
  • Calin Leafshade worked on a game that was nominated for an AGS Award!Calin Leafshade worked on a game that won an AGS Award!
PollSystem() deals with entirely asynchronous events that are not part of game loops so it should be safe to call it from anywhere. At least that is my understanding.

Leon: You need the sword first before you can get the monkey.