Ah that's surprising.. I really didn't make one with proto ids.
Okay.. in the typetest file (for the mod) if you don't mind modding the current one.. otherwise just copy paste and make another effect (new name):
You would edit this command:
trUnitCreate("%ProtoName%", "%ScenName%", trQuestVarGet("oiwghogwhywhlocx"),xsVectorGetY(kbUnitGetPosition(1*%Object%)),trQuestVarGet("oiwghogwhywhlocz"), %Heading%, %PlayerID%);
Instead of "%ProtoName%", you would want to put:
""+kbGetProtoUnitName(kbGetUnitBaseTypeID(%ProtoName%))
and of course change the field type of ProtoName to String - not long/float (#) because you want to put text like QV commands as well.