Issue with Switch entities to teleport to another map

Kaoji

First time out of the vault
Hi!

Got a problem with the Switch entity and cannot find a solution for now.
I'm trying to create an elevator with Switches to use before being teleported to another map.

On Map A
• I place a Switch "off" and set a trigger that goes "on" when used and then teleport user to Map B (and added an Exit Grid below it)
• I added an INIT "Always" to set the Switch "off" by default.

On Map B
• I place a Switch "off" and set a trigger that goes "on" when used and then teleport user to Map A(and added an Exit Grid below it)
• I added an INIT "Always" to set the Switch "off" by default.

When I test it, it does:
- Player spawns on Map A, uses the Switch and is teleported to Map B.
- Player uses the Switch on Map B, and then I got a teleport loop and automatically teleport to Map A then Map B then Map A, etc...

My thought is that the Switches stay "on" after leaving the map but I don't understand why since I added:
- An INIT "Always" to set them "off" by default.
- Also added as "Action" (to try but no result) after using the Switches to set them back "off".
- I tried the "Nuke triggers on Exit", but it works once (from Map B to Map A) but then when I move on the Exit Grid I got kicked to the Campaign Map

Any ideas to make them properly work?
 
Last edited:
Ok, looks like it's the Switch are not the issue but somehow something related to the Exit Grids when coming back to an already visited map.
I removed all the Switch and related Triggers and used a Zone instead but got the same loop problem (funny because I got the loop even if I'm not IN the Exit Grids)
The only moment it works almost fine is when I check on the "Nuke triggers on Exit", but only once since after I'm kicked to the worldmap.

Which made me think that maybe there is something related to your thread @nadeauhugo (https://www.nma-fallout.com/threads/warning-about-all-alive-at-exit-grids-trigger.222474/).
The issue is that for now I'm still not using any "Mission Complete" triggers.

So.. kinda lost for now x_x
 
Found a thread on another forum from someone asking almost the same think (start Map A, going Map B, and then going back Map A).
Looks like FOT engine cannot do such thing or at least after Map B, player should go back to the worldmap and then can go back to Map A.

Other solution then is using the Move Unit trigger with the Spawn Entity but the map will be very big x_x
However, cannot find how to add a TagName to player character without going with FTSE, HEX or any tech solution
 
Last edited:
Back
Top