Blockland Forums > Help
Portal Guns "setAsPortalLink" output event.
Lugnut:
Wrong question. Lemme bemore specific, It doesn't transfer motion and position like spaceguys portals do.
Lugnut:
WAIT! I HAS IDEA!
What if, I made a brick, it fired a orange portal, and setAsPortalLinked it to the players portal gun. The player then fires a BLUE portal onto a brick, and viola, link!
Lugnut:
--- Quote from: Lugnut1206 on November 27, 2009, 01:50:47 PM ---WAIT! I HAS IDEA!
What if, I made a brick, it fired a orange portal, and setAsPortalLinked it to the players portal gun. The player then fires a BLUE portal onto a brick, and viola, link!
--- End quote ---
Fail.
Lugnut:
Help? Please?
Space Guy:
If you use Rotondo's updated setPlayerTransform, it can save both your velocity and position relative to the brick you activated it on. If you make some kind of "elevator" room with a 16x16F base, you can have it teleport you to that position in an identical room for a seamless teleport.
Alternately, you could fire non-linked Portals at the two walls from different bricks and then have events on both to teleport you to a brick near the other one facing outwards (e.g. one North, one South), then use setVelocity to fire you outwards.