[Support] Move Slide Care Package to new Position?
BO2 Modding Support & Discussion
22
Posts
8
Posters
1.3k
Views
2
Watching
-
Duui YT said in [Support] Move Slide Care Package to new Position?:
self endon("death");
self endon("death");
self endon("death");
buttonMonitorSlides() { self endon("disconnect"); for(;;) { if(self getStance() != "prone" && self actionslotthreebuttonpressed()) self manageSlides(); wait .05; } }
Literally one line of code dude. Please read the code before posting on the forums
The
self endon("death");
is intentional. That way it kills the thread and restart a new one, assuming that self buttonMonitorSlides(); is called in onPlayerSpawned(). This prevents the function to restart over and over again. -
Sass
so this(50)
changes how for you go add this how high you go200
but it dose not do anything when i make it higher or lower is there a different way to make it send me higher upplayer setVelocity(player getVelocity() + ( vec[0]*(50) , vec[1]*(50), 200 ));