happyfaic72

Tank Track Removal Code 1.0

Jun 30th, 2021
1,400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. @name Tank Track Removal Code 1.0
  2. @inputs UpDown LeftRight Active [LWheel,LTTC,RWheel,RTTC,Spinner,SpinnerTTC]:entity
  3.  
  4. interval(250)
  5. #TTC is the Tank Track Controller entity.
  6. if(UpDown|LeftRight|Active){
  7.     if(LWheel:hasConstraints("axis")==0){LTTC:propDelete()}
  8.     if(RWheel:hasConstraints("axis")==0){RTTC:propDelete()}
  9.     if(Spinner:hasConstraints("axis")==0){SpinnerTTC:propDelete()}    
  10. }
  11.  
Advertisement
Add Comment
Please, Sign In to add comment