Aller au contenu

Photo

Disable Pausing in an area?


  • Veuillez vous connecter pour répondre
7 réponses à ce sujet

#1
jsd313

jsd313
  • Members
  • 184 messages
I searched the wiki and the forums and I am not seeing any info about it. Anyone know if it is possible and what direction I should be looking?

Thanks

#2
Craig Graff

Craig Graff
  • Members
  • 608 messages
No guarantees, but you could probably hook into EVENT_TYPE_AMBIENT_PAUSE (2001) and call ToggleGamePause to undo the pause.

#3
jsd313

jsd313
  • Members
  • 184 messages
Thanks Craig, will check it out now.

#4
jsd313

jsd313
  • Members
  • 184 messages
What include script does that come from? All I am finding is EVENT_TYPE_AUTOPAUSE in event_h

#5
Craig Graff

Craig Graff
  • Members
  • 608 messages
It's not in an include that I'm aware of, but it is listed in events.xls - which is why I listed the number.

#6
jsd313

jsd313
  • Members
  • 184 messages
oh ok I gotcha, I have a custom event.xls setup for another event, Ill see if I can add this one and make it all work :)

#7
Craig Graff

Craig Graff
  • Members
  • 608 messages
You shouldn't need to override it in a custom events.xls, you should be able to catch it in your module script. Assuming it works at all, of course.

#8
jsd313

jsd313
  • Members
  • 184 messages
It don't think it works. I have now tried it both ways. Oh well thanks man. I was thinking if I could disable it then I could scale the creatures in my mod down a bit since people would have to play different.