BullyWiiPlaza
Modder
- Messages
- 214
- Reaction score
- 174
- Points
- 818
I saved the coordinates of many TranZit locations so that they can be used for teleporting at any time in the mod menu.
Here are the functions:
You can see some of these in action in the following video of mine:
Enjoy
Here are the functions:
Code:
teleportToBus()
{
self setOrigin(level.the_bus localToWorldCoords((0, 0, 25)));
}
teleportPlayerBusStop()
{
teleportPlayer(self, (-6359.23, 5606.84, -43.793), (0, -140.625, 0));
}
teleportPlayerDiner()
{
teleportPlayer(self, (-4630.61, -7472.26, -61.7568), (0, -156.648, 0));
}
teleportToDinerRoof()
{
teleportPlayer(self, (-6377.36, -8004.36, 148.125), (0, 29.8943, 0));
}
teleportPlayerFarm()
{
teleportPlayer(self, (8497.75, -5459.58, 47.8724), (0, -157.187, 0));
}
teleportPlayerCornField()
{
teleportPlayer(self, (10165.7, -1739.5, -219.201), (0, 102.272, 0));
}
teleportToSecretRoom()
{
teleportPlayer(self, (13964.9, -980.641, -177.317), (0, -115.245, 0));
}
teleportPlayerBabbleTower()
{
teleportPlayer(self, (7563.79, -460.41, -200.988), (0, 172.49, 0));
}
teleportPlayerPowerStation()
{
teleportPlayer(self, (11361.3, 7925.06, -537.939), (0, -147.047, 0));
}
teleportPlayerTown()
{
teleportPlayer(self, (1167.49, -851.359, -55.875), (0, 75.487, 0));
}
teleportToPackAPunchRoom()
{
teleportPlayer(self, (1126.64, 1148.86, -303.875), (0, -87.1555, 0));
}
teleportToHuntersCabin()
{
teleportPlayer(self, (5385.36, 7064.36, -26.117), (0, -147.8, 0));
}
teleportPlayer(player, origin, angles)
{
player setOrigin(origin);
player setPlayerAngles(angles);
}
Enjoy
Last edited: