Hook Map End

Please post any questions about developing your plugin here. Please use the search function before posting!
decompile
Senior Member
Posts: 417
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

Hook Map End

Postby decompile » Thu May 19, 2016 12:57 am

Is there a way to hook up the MapEnd?

Something like

@OnMapEnd

So I could auto save the playtime from map&players
User avatar
satoon101
Project Leader
Posts: 2703
Joined: Sat Jul 07, 2012 1:59 am

Re: Hook Map End

Postby satoon101 » Thu May 19, 2016 1:00 am

Syntax: Select all

from listeners import OnLevelShutdown

@OnLevelShutdown
def shutdown():
...
Image
decompile
Senior Member
Posts: 417
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

Re: Hook Map End

Postby decompile » Thu May 19, 2016 1:04 am

Thank you! Awesome

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 108 guests