Modme Forums

trigger multiple activates only once

Game Modding | Call of Duty: Black Ops 3 | General Discussion


ModmeBot:

Thread By: bigdog765
Im having a problem where when the player intersects with a trigger multiple its supposed to move a script_brushmodel multiple times but only does it once.


ModmeBot:

Reply By: xdferpc
put the script to help you


ModmeBot:

Reply By: bigdog765
function movingObject()
{
paddle = GetEnt("paddle1","targetname");
paddletrigger = GetEnt("trigpaddle","targetname");
paddletrigger waittill("trigger", player);
IPrintLnBold("paddle flip");
paddle RotateYaw(55,1);
wait 0.3;
paddle RotateYaw(0,1);
wait 0.3;

}

im using trigger multiple


ModmeBot:

Reply By: xdferpc
in this side


paddle RotateYaw(0,1);
paddle RotateYaw(the number of the stepsyou wnat to move , number of sconds in which it moves);
If you put 0 in that part it will not move


ModmeBot:

Reply By: bigdog765
figured it out myself thanks for the help