Modme Forums

help trigger bw vision

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


ModmeBot:

Thread By: xdferpc
what I want to do is that when the player goes through a tigger_multiple he puts black and white vision and after 5 seconds he goes

I'm trying this is what I have in the script:

in the function main ()

thread vision();

on the bottom

function vision()
{
while(1)
{
vision = GetEnt( "vision", "targetname" );
self waittill( "trigger", player );
VisionSetNaked( "zombie_last_stand" );
wait 5;
VisionSetNaked( "zm_factory" );


}



help me please


ModmeBot:

Reply By: mathfag
vision waittill( "trigger", player );


ModmeBot:

Reply By: xdferpc

mathfag
vision waittill( "trigger", player );

thanks men