Advertisement
Benji23245

Untitled

Mar 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. ParticleDepthOverride = 2000.0f;
  2. if (star_glow < 7)
  3. {
  4. ++star_glow;
  5. SetMaterialAndSpriteColor_Float((7 - star_glow) / 7.0f, 1, 1, 1);
  6. //SetMaterialAndSpriteColor_Float(1, 1, 1, 1);
  7. njDrawSprite3D_Queue(&HUD3D_SPRITE, 0, NJD_SPRITE_ALPHA | NJD_SPRITE_COLOR | NJD_SPRITE_SCALE, (QueuedModelFlagsB)0);
  8. }
  9. else if (star_glow == 7)
  10. {
  11. star_glow = 0;
  12. SetMaterialAndSpriteColor_Float(0, 1, 1, 1);
  13. njDrawSprite3D_Queue(&HUD3D_SPRITE, 0, NJD_SPRITE_ALPHA | NJD_SPRITE_COLOR | NJD_SPRITE_SCALE, (QueuedModelFlagsB)0);
  14. }
  15. SetMaterialAndSpriteColor_Float(1, 1, 1, 1);
  16. ParticleDepthOverride = 0.0f;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement