Page 1 of 1

Any other way then cushion? and teleports.

Posted: October 16th, 2008, 3:29 am
by zipperdude
Im making a shooting map and I want you to be able to fall from anywhere and not get hurt. I know about cushion but when i use taht you cant hear people walking and i want you to be able to hear that. Is there a way to have it so i can just do like on the server where you can select fall damage on or off and put that in a script for the map?

second question is i have a teleport in my map and it teleports me not where i want to go and out of the map.
does anyone know how to fix it?

Re: Any other way then cushion? and teleports.

Posted: October 16th, 2008, 6:46 pm
by zipperdude
KillerSam wrote:
zipperdude wrote: second question is i have a teleport in my map and it teleports me not where i want to go and out of the map.
does anyone know how to fix it?
Change the co-ordinates in the scripting.
I have twice to 2 different co-ordinances and it still throws me out of the map

Re: Any other way then cushion? and teleports.

Posted: October 16th, 2008, 9:23 pm
by zipperdude
I tried deleting my trigger and re-creating it and nothing. Heres my script:

Code: Select all

main()
{
thread tower_tele_1();
thread tower_tele_2();
thread tower_tele_3();
thread tower_tele_4();
}






tower_tele_1()
{
	trigger = getent("tower_tele_1", "targetname");
	while(1)
	{
		trigger waittill ("trigger",user);
		user setOrigin( (-1150, 1192, 1193) );
	}
}

tower_tele_2()
{
	trigger = getent("tower_tele_2", "targetname");
	while(1)
	{
		trigger waittill ("trigger",user);
		wait(1);
		user setOrigin( (734, 219, 1193) );
		wait(1);
	}
}


tower_tele_3()
{
	trigger = getent("tower_tele_3", "targetname");
	while(1)
	{
		trigger waittill ("trigger",user);
		wait(1);
		user setOrigin( (850, -364, 334) );
		wait(1);
	}
}


tower_tele_4()
{
	trigger = getent("tower_tele_4", "targetname");
	while(1)
	{
		trigger waittill ("trigger",user);
		wait(1);
		user setOrigin( (-226, 263, 818) );
		wait(1);
	}
}
I posted all 4 because I did them all exactly the same. I've checked the targetnams, its a trigger>multiple and i have no clue what to do.