Rune_PRC8/_module/nss/tal_conv_targ3.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

23 lines
621 B
Plaintext

////////////////////////////////////////////////////////////////////////////////
//
// Talus Menu on Rest
// tal_conv_targ3
// OPW Integration and Clean Up By Don Anderson
// dandersonru@msn.com
//
// Used in Rest Menu Conversation
//
////////////////////////////////////////////////////////////////////////////////
#include "x0_i0_position"
void main()
{
object oPC=GetPCSpeaker();
object oTarg=GetLocalObject(oPC,"targ"+IntToString(GetLocalInt(oPC,"convtarg")));
AssignCommand(oPC,ClearAllActions());
SetLocalInt(oPC,"convtarg",3);
TurnToFaceObject(oTarg,oPC);
SetCustomToken(7100,GetName(oTarg));
}