I have another script question, this time about worldmaps.

I have another script question, this time about worldmaps.

Postby TheHeartlessCookie » 13 Feb 2018, 04:08

Is there any way to make a path appear on a worldmap after a certain level is finished? I need a cutscene level to activate another part of the worldmap, but I can't for the life of me figure out how to do it.
TheHeartlessCookie
 
Posts: 10
Joined: 14 Oct 2016, 02:11

Re: I have another script question, this time about worldmap

Postby manuel » 13 Feb 2018, 10:56

It is possible, but it needs some serious scripting. You can't just only use a script trigger in a level, you have to add something to the SuperTux savefile. If you really want to do this, just ask, but it will be more complicated than standard scripting.
manuel
 
Posts: 190
Joined: 19 Sep 2017, 09:03

Re: I have another script question, this time about worldmap

Postby mteufel » 13 Feb 2018, 15:18

This seems to be pretty much what https://github.com/SuperTux/supertux/pull/742 will implement once merged.
SuperTux developer
mteufel
 
Posts: 139
Joined: 03 Jan 2016, 09:27

Re: I have another script question, this time about worldmap

Postby TheHeartlessCookie » 13 Feb 2018, 23:16

Thanks so much, both of you! I don't actually need to do it, I just thought it might add some pizzazz.
TheHeartlessCookie
 
Posts: 10
Joined: 14 Oct 2016, 02:11

Who is online

Users browsing this forum: No registered users and 1 guest