Domo 0 Posted November 7, 2015 (edited) I need a script where I can whisper a character name to an NPC then the NPC opens a dialogue box to that character. is this possible? Follow up question: I also need a script where I can whisper a character name to an NPC then the NPC kills that character. Edited November 7, 2015 by xenophoresis Quote Share this post Link to post Share on other sites
0 Emistry 145 Posted November 7, 2015 - script whisper -1,{ OnWhisperGlobal: .@aid = getcharid( 3,@whispervar0$ ); if ( !.@aid ) { dispbottom "char not found."; } else if ( attachrid( .@aid ) ) { mes "You have been murdered."; close2; unitkill .@aid; } end;} npc:whisper # player_name 1 Domo reacted to this Quote Share this post Link to post Share on other sites
0 Domo 0 Posted November 8, 2015 Thank you very much @@Emistry Quote Share this post Link to post Share on other sites
I need a script where I can whisper a character name to an NPC then the NPC opens a dialogue box to that character.
is this possible?
Follow up question: I also need a script where I can whisper a character name to an NPC then the NPC kills that character.
Edited by xenophoresisShare this post
Link to post
Share on other sites