mGm_Lizard

NoTransTrail.uc

Jul 30th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*================================
  2. /source code for mGmDeathTrans by Daschinia
  3. /UT2004
  4. /================================*/
  5.  
  6. class NoTransTrail extends mGmTransBeacon
  7.         config(mGmTrans);
  8.  
  9. var class<TransTrail> TransTrail${1}< ${3} >
  10. var() bool AllowTransTrail;
  11.  
  12. function bool AllowTransTrail(TransTrailClass TTC)
  13. {
  14.     Super.PostBeginPlay();
  15.         {
  16.          if(bAllowTransTrail = True)
  17.             TTC = Spawn(TransTrailClass, self,, Location, Rotation);
  18.                 SetTimer(0.3,false);
  19.             else
  20.             (bAllowTransTrail = False);
  21.                 return;
  22.         }
  23. }
  24.  
  25. defaultproperties
  26. {
  27.    bAllowTransTrail=True;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment