6729 {
6730 super.OnParticleEvent(pEventType ,pUserString, pUserInt);
6731
6732 if (!
g_Game.IsDedicatedServer())
6733 {
6734 if (pUserInt == 123456)
6735 {
6737 int boneIdx = player.GetBoneIndexByName("Head");
6738
6739 if (boneIdx != -1)
6740 {
6741 EffectParticle eff;
6742
6744 {
6745 eff = new EffVomitBlood();
6746 }
6747 else
6748 {
6749 eff = new EffVomit();
6750 }
6751
6753 eff.SetAutodestroy(true);
6754 SEffectManager.PlayInWorld(eff, vector.Zero);
6756 player.AddChild(p, boneIdx);
6757 }
6758 }
6759 }
6760 }
Particle GetParticle()
Gets the main particle which this Effect is managing.
void SetDecalOwner(Object o)