So I love creating large and vast dungeons for exploring and giving additional rewards if you find them e.c.t. however one issue I do encounter is some you may run out of supplies and not made it anywhere near the end.
I am looking to create a portal style mechanic where you can teleport to your custom town.
The Item is a "Home Teleport - Consumes on Use" and "Home Teleport Tomb - lasts forever"
I can obviously get this to teleport back to the home town as its a set location, however how would I get it to teleport back to the specific location (after you have been able to venture round the town.
Off the top of my head all I can think of doing is
"on use, use commands to take X n Y n Map ID position of player with variables"
"Transfer player to home town"
"activate portal switch" - makes an event live on the map 'the portal'
" you can then use the portal to go back to x n y map id positions revised" which turns the portal switch off.
I think it would work but not sure if I am missing anything?
(sorry I am asking this but my maker doesn't work, at work atm!)
so trying to figure stuff out while I cant actually do it!
'Diablo Style Portal Mechanic'
● ARCHIVED · READ-ONLY
-
-
no, that's exactly what should be done - you just need to be careful with the sequence of the control variable commands.
-
I did exactly the same thing with my town portal scroll. I put a scroll with a common event whichs registers in three variables the map ID, the X, and the Y location. When using the scroll, it also teleports you to the town and activates a switch which will activate the transfer back to that exact location. And when you use that teleport, the scroll will be finally consumed and you will appear in that map, also deactivating the switch.
-
-
@Black Mamba, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.
closing this