Hi all again.Continuing from my previous message, I got it working in the end, 
but the rain splash is always spawning at 0 0 0. 
http://i52.tinypic.com/10mogma.png is whats happening.    if( trace.fraction < 
1 || trace.DidHit() )   {        if ( RandomInt( 0, 100 ) <= 
r_RainSplashPercentage.GetInt() )           DispatchParticleEffect( 
"Rain_01_impact_sphere", trace.endpos,trace.m_pEnt->GetAbsAngles() , NULL );
       // Tell the framework it's time to remove the particle from the list     
  return false;   }is the code to spawn the rain.
Any ideas?Thanks, FiX                                     
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to