7050 {
7051 super.OnParticleEvent(pEventType ,pUserString, pUserInt);
7052
7053 if (!
g_Game.IsHeadlessOrDedicatedServer())
7054 {
7055 if (pUserInt == 123456)
7056 {
7058 int boneIdx = player.GetBoneIndexByName("Head");
7059
7060 if (boneIdx != -1)
7061 {
7062 EffectParticle eff;
7063
7065 {
7066 eff = new EffVomitBlood();
7067 }
7068 else
7069 {
7070 eff = new EffVomit();
7071 }
7072
7074 eff.SetAutodestroy(true);
7075 SEffectManager.PlayInWorld(eff, vector.Zero);
7077 player.AddChild(p, boneIdx);
7078 }
7079 }
7080 }
7081 }
Particle GetParticle()
Gets the main particle which this Effect is managing.
void SetDecalOwner(Object o)