#how to create button that teleports you?
1 messages · Page 1 of 1 (latest)
If you want to not use a trigger (as that could affect people passing by as you press the button), here is the way:
add a point_teleport where you want the destination to be
In the parameters Entity to Teleport, set !activator
Then your button will call the point teleport
OnPressed> point teleport name > Teleport
@low plinth
Otherwise, the method is the trigger teleport near the button
Disabled per default, and you enable when the button is pressed, and disable pretty fast, with a. Delayed output
But as mentioned before , it can cause people passing by to get teleported at the same time
my understanding was you could just place the trigger anywhere in the map, and then pass in the activator as the caller
Most Triggers have a StartTouch input (probably not shown in Hammer per default), but i don't think it would make the trigger teleport itself teleport the player as if he had touched it
It would fire the OnStartTouch output for sure, but the teleportation of the player should be unrelated to that
i was just reading the VDC
I guess it's worth a test
Though with point teleport, you only use one entity which is the destination and the way of teleportation
Also, there are probably vscript way of changing the player origin, by setting its origin after doing GetOrigin on another
yea thats my preferred method