ZDaemon ACS Extensions - ZD_SetMarineSkin
ZD_SetMarineSkin() function
This function will allow for player skins to be set to ScriptedMarines. The syntax is:
void ZD_SetMarineSkin(int tid, string name)
The tid is the Thing ID of the target ScriptedMarine.
The name is the name declared in the S_SKIN lump.
See
ZD_GetSkinName() and
ZD_GetSkinTopIndex() when it comes to retrieving a corresponding skin name from an index, as well as retrieving the top index of the installed skins in order to create a potential list that can be iterated through.