Portals
-
Emera Nova
- Posts: 146
- Joined: Wed Jun 11, 2014 1:31 am
Portals
Re: Portals
They'll only ever work for the party, since only the party can ever go through a PortalComponent, but sure. Just use PortalComponent.onArrival to set the party's position and fade the screen back in.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
-
Emera Nova
- Posts: 146
- Joined: Wed Jun 11, 2014 1:31 am
Re: Portals
Is something that would go into a script within the game or would you put it in the objects.lua file?
If it's the .lua file one do I need to replace the with the PortalComponent and then a set of coors?
Same kind of question as far as making it fade back in after using the portal, where exactly do I tell it to change that.
Code: Select all
PortalComponent.onArrivalIf it's the .lua file one do I need to replace the
Code: Select all
onArrival = function()
GameMode.completeGame("assests/videos/outro1.ivf")
end,Same kind of question as far as making it fade back in after using the portal, where exactly do I tell it to change that.
Re: Portals
simple solution would be - just disable the portal function and place there invisible teleporter object instead 
-
Emera Nova
- Posts: 146
- Joined: Wed Jun 11, 2014 1:31 am
Re: Portals
That would be far simpler I must say x]