Changing Teleport Height

Posts 1–7 of 7 · Page 1 of 1
Changing Teleport Height
Yay more questions! So I have a very basic code that looks like this:
[PHP]JumpPlayer()
{
self endon("disconnect");

self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
self endLocationSelection();
self.selectingLocation = undefined;
self setOrigin(location);
}[/PHP]
But my problem is that on some maps, i.e. Invasion to name one, that the regular not-raised ground is too high and when I teleport I end up below the map.

I guess I'm looking for a general solution like changing the height for teleporting, (still making the player survive the fall). I don't really intend to teleport on top of buildings, but if there's a code already made that does it that's fine with me.

Thanks in advance
oh brother this goes to GSC Coding Section.......
Quote Originally Posted by user590177 View Post
oh brother this goes to GSC Coding Section.......
I'm fairly certain this is in the right forum, unless you don't ask for help in a help forum...
Quote Originally Posted by Heartview View Post
I'm also fairly sure that there is a GSC modding help forum too.
Call of Duty MW2 GSC Modding Help/Discussion - MPGH - MultiPlayer Game Hacking

Post GSC related questions there.
Ah right, forgot about that section , thought Ace was talking about the release section. But I have posted coding questions here and nobody had corrected me... /

Mods please move my question accordingly
/Moved to GSC disscusion
wow guys nobody posted anything helpful. Why do you even post?
@threadstarter try this at end
Code:
self setOrigin(location + (x,y,z));
so like
Code:
self setOrigin(location + (0,100,0));
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us