SC_AngelScript icon indicating copy to clipboard operation
SC_AngelScript copied to clipboard

Add way of getting custom model replacements like FindSoundReplacementSample()

Open incognico opened this issue 8 years ago • 0 comments

Add way of getting custom model replacements analog to FindSoundReplacementSample().

For example:

string FindModelReplacement(CBaseEntity@ pEntity, const string& in szModelName) const

Finds the model replacement file/path for the given entity and model. If the the model is replaced, it will return the replacement model file/path instead. Otherwise, szModelName is returned.

incognico avatar Dec 19 '17 12:12 incognico