772 {
775 return;
776
778 #ifdef DIAG_DEVELOPER
779 if (
IsCLIParam(
"loudConstructionEffectWarnings"))
781 #endif
782
784
785
787 foreach (string soundPointName : memPointNames)
788 {
789 if (soundPointName == "" || !parent.MemoryPointExists(soundPointName))
790 {
791 ErrorEx(
"'" + soundPointName +
"' memory point not found in the model: " + parent.GetShapeName() +
", skipping construction effects!", severity);
792 return;
793 }
794
796 }
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811 }
ConstructionPartTypeData m_PartTypeData
void PlayConstructionSound(EntityAI parent, vector effectPos)
Plays sound of current construction state on parent; BaseBuildingBase uses its own class events for t...
array< string > GetSoundEffectMemoryPointNames()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native bool IsCLIParam(string param)
Returns if command line argument is present.