14 lines
402 B
Plaintext
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
|
|
}
|