Modme Forums

Scripting jumpPads

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: i3ick
Hi,



I'm trying to get jump pads to work in Bo3. I followed this tutorial for cod4 jump pads. But the script needs to be updated.



What I have now is





level thread jumper();



in main, and this



function jumper()
{
	jumpx = GetEntArray("jump", "targetname");
	glow = GetEntArray("glow", "targetname");
	air1 = GetEntArray("air1", "targetname");
	air2 = GetEntArray("air2", "targetname");
	air3 = GetEntArray("air3", "targetname");
	air4 = GetEntArray("air4", "targetname");


	

	time = 1;
	
	
	for(;;)
	{
		jumpx waittill ("trigger", player);
		if (player IsTouching(jumpx))
		{
			//throw = player.origin + (100, 100, 0);
			air = Spawn("script_model",(0,0,0));
			air.origin = player.origin;
			air.angles = player.angles;
			air LinkTo(player);
			air MoveTo (air1.origin, time);
			wait (1);
			air MoveTo (air2.origin, time);
			wait (0.5);
			air MoveTo (air3.origin, time);
			wait (0.5);
			air MoveTo (air4.origin, time);
			wait (1);
			player Unlink();
			wait (1);
			
		}
	}
}



but nothing is happening. What am I doing wrong?


ModmeBot:

Reply By: DTZxPorter
We actually have a very talented member rewriting for Black Ops 3, it will be public.


ModmeBot:

Reply By: i3ick

DTZxPorterWe actually have a very talented member rewriting for Black Ops 3, it will be public.


Cool but that's not quite the answer that I'm looking for.


ModmeBot:

Reply By: DTZxPorter
I'm saying from a point that that code needs almost a complete rewrite to properly function its way better to learn from example! :)