Attempt to play the ammo effect at pos if found, returns true on success.
См. определение в файле AmmoEffects.c строка 97
98 {
99 string surfaceType;
100 g_Game.SurfaceGetType3D(pos[0], pos[1], pos[2], surfaceType);
101
103
104 if ( typeName )
105 {
107
108 if ( eff )
109 {
110 eff.SetAutodestroy(true);
111 return SEffectManager.PlayInWorld( eff, pos );
112 }
113 }
114
115 return false;
116 }
static GetAmmoEffectTypename(string ammoType)
Get the typename for the effect for this ammoType.
Перекрестные ссылки ammoType, Effect(), g_Game, GetAmmoEffectTypename() и SEffectManager::PlayInWorld().