HoS_PRC8/_mod/_module/nss/contest_u_ctl.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

14 lines
402 B
Plaintext

// contest_u_ctl
void main()
{
object oDM=GetLastUsedBy();
string sTag=GetTag(OBJECT_SELF);
sTag=GetStringRight(sTag,1);
if (GetIsObjectValid(oDM))
{ // activate conversation
SetLocalString(oDM,"sControl",sTag);
AssignCommand(oDM,ClearAllActions(TRUE));
AssignCommand(oDM,ActionStartConversation(oDM,"contestant_set",TRUE,FALSE));
} // activate conversation
}