Possible solution to common teleport issue
Posted: August 18th, 2011, 8:03 am
OK I have gone right through the previous posts re teleporting and note a lot of people have the same issue I have
You have a map (lets say called town) with a house on it.
You have another map called house
you want to enter the house through the front door (leaving townmap and going to start point in house, near front door)
You may then want to exit map house by the front door, or the back door and, depending on which you use, you woudl need to start at the front or back door of the house in the town map.
There doesnt appear to be any clear answer as to how to do this.
I think the way to do it would be to set a variable (called dest - maybe) when you exit the town map. this would be set to either 1 or 2 depending on whether you enter through the front or back door of the house.
Once the house map is loaded you actually start the map somewhere else - where you cannot see. immediately you hit a teleport which checks whether the variable dest is showing 1 or 2 (or any more for that matter)
depending on the value of dest the teleport will send you to teledest 1,2 etc (front door/back door etc)
I think that would work, I just dont know where in the CFG it records which teledest value to use, so it can be made to change.
I think thats right and would just like finger pointing in the direction of that part of the cfg.
Or telling I am well off the mark!
Cheers dudes!
You have a map (lets say called town) with a house on it.
You have another map called house
you want to enter the house through the front door (leaving townmap and going to start point in house, near front door)
You may then want to exit map house by the front door, or the back door and, depending on which you use, you woudl need to start at the front or back door of the house in the town map.
There doesnt appear to be any clear answer as to how to do this.
I think the way to do it would be to set a variable (called dest - maybe) when you exit the town map. this would be set to either 1 or 2 depending on whether you enter through the front or back door of the house.
Once the house map is loaded you actually start the map somewhere else - where you cannot see. immediately you hit a teleport which checks whether the variable dest is showing 1 or 2 (or any more for that matter)
depending on the value of dest the teleport will send you to teledest 1,2 etc (front door/back door etc)
I think that would work, I just dont know where in the CFG it records which teledest value to use, so it can be made to change.
I think thats right and would just like finger pointing in the direction of that part of the cfg.
Or telling I am well off the mark!
Cheers dudes!