Advertisement
AlisaCodeDragon

class e_u300_heart_arrow

Feb 28th, 2019
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. class e_u300_heart_arrow extends NSkillProjectile;
  2.  
  3. simulated function PostBeginPlay()
  4. {
  5.     local   mesh    temp;
  6.     local   texture skin;
  7.  
  8.     Super.PostBeginPlay();
  9.  
  10.     temp = mesh(DynamicLoadObject("LineageWeapons.krono_arrow_m00_wp", class'skeletalmesh'));
  11.     if( temp != None ) Mesh = temp;
  12.    
  13.     skin = texture(DynamicLoadObject("LineageWeaponsTex.krono_arrow_t00_wp", class'texture'));
  14.     if( skin != None ) Skins[0] = skin;
  15. }
  16. simulated event ShotNotify()
  17. {
  18.     SetPhysics(PHYS_NProjectile);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement