Please or Register to create posts and topics.

Autoportals

I've got a situation set up with the player having the blue only portalgun, but I can't figure out how to set up an autoportal for the yellow side. Anybody know what to do?

if i remember correctly, there is an entity that acts as a portal, and in the output theirs a command that something like change location and then you put in the co-ordinates in the parameters.

Image

Oh look, the wiki has some information!

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.

Ok, got that working, now I've got the player picking up the portal gun in one room, blue only, shooting blue onto wall, yellow active in another room so opening up a door.

Immediately outside the yellow prop_portal, the player passes through a trigger that kills that prop_portal... but I can't make it activate a new prop_portal.

TL_DR:

How do I simultaneously kill one prop_portal and activate another?

I've been using a trigger_once to onTouch kill exitportal1 and then ontrigger setactivatedstate for exitportal2 with the parameter set to active. Obviously that doesn't work, and I've tried dozens of things over the last two days.

I've looked on both this wiki and the valve wiki, anybody run into this before?

Awesomus_Prime wrote:
[57 words]
tl;dr
[59 words]
"Games are made out of smaller games ? turtles all the way down, until you hit the game that is so trivial and stupid it isn?t deserving of the name." --Raph Koster
Awesomus_Prime wrote:
How do I simultaneously kill one prop_portal and activate another?

Sorry I'm long-winded

Depends on what is actually doing the closing. At minimum, a logic_relay should do the trick. Give it 2 outputs, one for the close and one for the open that is 0.10 seconds delayed.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.

I never thought that, I'll give it a try. Thanks.

EDIT:The Logic_relay did it, I think I could have made it work other ways but the logic_relay is smooth and really reduces the trigger clutter I had going on.