Aller au contenu

Photo

Events processing during pause


1 réponse à ce sujet

#1
anakin5

anakin5
  • Members
  • 258 messages
The main question is "How to flag an event to be processed during pause ?".

I am using SignalEvent function inside EVENT_TYPE_EQUIP.

EVENT_TYPE_EQUIP can be processed while the game is in pause but the custom event I send to the same character is processed only after the pause.

case EVENT_TYPE_EQUIP:
{
    event ev = Event(CUSTOM_EVENT);
    SignalEvent(OBJECT_SELF, ev);

    break;
}

#2
DavidSims

DavidSims
  • BioWare Employees
  • 196 messages
Did you try setting the process immediately paramater on SignalEvent to TRUE? If that doesn't work, I suspect events created by scripting can't be processed while the game is paused.